OFFSET
1,4
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6) = 0, since in the prime factorization of 6 = 2^1*3^1 no prime has exponent > 1.
a(35000) = 2, since the smallest prime in the prime factorization of 35000 = 2^3*5^4*7^1 having exponent > 1 is 5.
MAPLE
with(NumberTheory): a := proc(n) f := PrimeFactors(n/Radical(n)); ifelse(f = {}, 0, min(f)) end: seq(a(n), n = 1..90); # Peter Luschny, Dec 31 2025
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo Xausa, Dec 31 2025
STATUS
approved
