login
A351296
The sum of the next n digits of Pi.
0
3, 5, 15, 16, 38, 26, 29, 41, 49, 40, 56, 50, 72, 55, 62, 75, 72, 56, 86, 100, 101, 95, 99, 96, 113, 110, 102, 113, 135, 132, 147, 142, 154, 170, 135, 171, 172, 160, 210, 172, 136, 203, 217, 197, 212, 215, 217, 228, 192, 264, 229, 204, 238, 282, 250, 299
OFFSET
1,1
EXAMPLE
Group the digits of Pi as follows: (3), (1,4), (1,5,9), (2,6,5,3), (5,8,9,7,9), etc., and take the sum of each group. Thus, the first five terms of the sequence are: 3, 1+4=5, 1+5+9=15, 2+6+5+3=16, and 5+8+9+7+9=38.
MATHEMATICA
Module[{nn=100, pid}, pid=RealDigits[Pi, 10, (nn(nn+1))/2][[1]]; Total/@ TakeList[ pid, Range[nn]]]
CROSSREFS
Cf. A000796.
Sequence in context: A243940 A066420 A102582 * A089168 A103127 A103192
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Feb 06 2022
STATUS
approved