OFFSET
3,1
COMMENTS
a(17) = 1415913990579036. - Daniel Suteu, Dec 10 2022
LINKS
Eric Weisstein's World of Mathematics, Centered Polygonal Number
EXAMPLE
a(5) = 2976, because 2976 is a centered pentagonal number that has 5 centered pentagonal divisors {1, 6, 16, 31, 2976} and this is the smallest such number.
PROG
(PARI) a(n) = if(n<3, return()); for(k=1, oo, my(t=((n*k*(k+1))/2+1)); if(sumdiv(t, d, issquare(8*(d-1)/n + 1) && (sqrtint((8*(d-1))/n + 1)-1)%2 == 0) == n, return(t))); \\ Daniel Suteu, Dec 10 2022
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Dec 03 2022
EXTENSIONS
a(10)-a(15) from Daniel Suteu, Dec 06 2022
STATUS
approved