OFFSET
2,1
LINKS
Colin Barker, Table of n, a(n) for n = 2..1000
EXAMPLE
a(3) = 2 because A000326(3) = 12 = 2^2 * 3.
PROG
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
spf(m) = factorint(m)[1, 1] \\ Smallest prime factor
a(n) = spf(pg(5, n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jul 02 2015
STATUS
approved