OFFSET
0,2
COMMENTS
The 20 smallest numbers not occurring in the first million terms: 5, 9, 11, 21, 28, 31, 40, 41, 59, 61, 62, 64, 65, 68, 74, 76, 78, 79, 80, 81.
LINKS
Ruud H.G. van Tol, Table of n, a(n) for n = 0..10000
PROG
(PARI) first(nn)= localprec(nn+20); my(d=digits(Pi*10^nn\1), r=List(0), k=0, s=0, t=0); for(n=1, nn-1, k+=d[n]; s=bitor(s, 1<<(t+=if(t<=k||bittest(s, t-k), k, -k))); listput(~r, t)); Vec(r);
CROSSREFS
KEYWORD
AUTHOR
Ruud H.G. van Tol, May 17 2026
STATUS
approved
