OFFSET
0,2
LINKS
Eric Weisstein's World of Mathematics, Prime Factor
Eric Weisstein's World of Mathematics, Square Pyramidal Number
PROG
(PARI) sp(n) = n*(n+1)*(2*n+1)/6; \\ A000330
a(n) = my(k=1); while (bigomega(sp(k)) != n, k++); k; \\ Michel Marcus, Dec 20 2022
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Dec 19 2022
EXTENSIONS
a(26)-a(34) from Daniel Suteu, Dec 29 2022
STATUS
approved