OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 2 since 2 = 2^1 has only one exponent (1) in its prime factorization.
a(6) = 12 since 6 = 2*3 has two equal exponents (1) in its prime factorization, and 2*6 = 12 = 2^2*3 has two distinct exponents (1 and 2).
MATHEMATICA
a[n_] := Module[{k = n}, While[!UnsameQ @@ FactorInteger[k][[;; , 2]], k += n]; k]; Array[a, 100]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 04 2022
STATUS
approved