OFFSET
2,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 2..10000
FORMULA
a(p) = p, for p prime.
EXAMPLE
a(10) = 1 because the prime factorization of 10 is 2^1*5^1, the multiset of these bases and exponents is {1, 1, 2, 5} and its second element is 1.
a(18) = 2 because the prime factorization of 18 is 2^1*3^2, the multiset of these bases and exponents is {1, 2, 2, 3} and its second element is 2.
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Paolo Xausa, Feb 28 2025
STATUS
approved