The Number of Good Subsets
Count subsets whose product uses only distinct primes. The visual encodes each number as a prime bitmask and shows the bitmask transitions.
Count subsets whose product uses only distinct primes. The visual encodes each number as a prime bitmask and shows the bitmask transitions.