Euler Problem 124 asks: The radical of n, rad(n), is the product of distinct prime factors of n. For example, 504 = 23× 32 × 7, so rad(504) = 2 × 3 × 7 = 42.
If we calculate rad(n) for 1 <= n <= 10, then sort them on rad(n), and sorting on n if [...] Read More...