This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingUnion the prime factor sets of an array and count.
What this asks
Count the distinct prime factors shared across a product of numbers.
Factorize each value into its prime set, union the sets, and count.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing