login
A396107
Recamán transform of the running sum of the decimal digits of Pi (A046974).
1
0, 3, 7, 15, 6, 20, 43, 18, 49, 13, 52, 8, 60, 121, 53, 130, 50, 132, 47, 140, 237, 134, 29, 140, 25, 143, 22, 151, 19, 153, 12, 162, 317, 472, 315, 150, 323, 146, 324, 137, 331, 136, 337, 127, 340, 118, 349, 115, 356, 110, 357, 604, 352, 92, 354, 616, 345, 67
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
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
nonn,base,easy,look
AUTHOR
Ruud H.G. van Tol, May 17 2026
STATUS
approved