OFFSET
1,2
COMMENTS
It appears that a(n) = ceiling((a(n-1) + 5/12)*10^(7*2^(n-6))) for n >= 7. - Jon E. Schoenfield, Nov 24 2015
LINKS
Wikipedia, Pentagonal number
EXAMPLE
1, 12, 1247, 1247160, 12471606070026 are pentagonal.
PROG
(PARI) ispentagonal(n)=ispolygonal(n, 5)
first(m)=my(v=vector(m), s=""); s="1"; v[1]=1; for(i=2, m, n=1; while(!ispentagonal(eval(concat(s, Str(n)))), n++); v[i]=n; s=concat(s, Str(n))); v
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Anders Hellström, Nov 24 2015
EXTENSIONS
a(6)-a(8) from Jon E. Schoenfield, Nov 24 2015
STATUS
approved