A261696 a(n) is least number > 0 such that the concatenation of a(1) ... a(n) is 17-gonal: (15n^2 - 13n)/2.
1, 7, 689, 6797, 67984832, 6798483348333332, 8455610150480042707742277762479, 707328322040172689545426423113211907561874137758547957769721082
Offset: 1
Examples
1, 17, 17689, 176896797 are 17-gonal.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..11
- Wikipedia, Polygonal number
- Chai Wah Wu, terms < 10^70000 to illustrate the pattern observed (see comments)
Crossrefs
Programs
-
PARI
heptadecagonal(n)=ispolygonal(n, 17) first(m)=my(s=""); s="1"; print1(1, ", ");for(i=2, m, n=1; while(!heptadecagonal(eval(concat(s, Str(n)))), n++); print1(n, ", "); s=concat(s, Str(n)))
Extensions
a(6)-a(8) from Chai Wah Wu, Mar 16 2018
Comments