OFFSET
1,6
COMMENTS
The 3rd-largest is 1 except 2 at 30, 42, 60, 66, 70, ...
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
If p_1 < p_2 < ... <p_{k-1} < p_k are the distinct primes dividing n then a(n) = p_{k-1}.
PROG
(PARI) A076820(n) = { my(o=omega(n)); if(1>=o, 1, factor(n)[o-1, 1]); }; \\ Antti Karttunen, Sep 25 2018
CROSSREFS
KEYWORD
AUTHOR
R. K. Guy, Nov 19 2002
EXTENSIONS
More terms from Jason Earls and John W. Layman, Nov 21 2002
STATUS
approved