login
Partial sums of digits of decimal expansion of Pi.
19

%I #32 May 16 2015 18:23:37

%S 3,4,8,9,14,23,25,31,36,39,44,52,61,68,77,80,82,85,93,97,103,105,111,

%T 115,118,121,129,132,134,141,150,155,155,157,165,173,177,178,187,194,

%U 195,201,210,213,222,231,234,241,246,247,247,252,260,262

%N Partial sums of digits of decimal expansion of Pi.

%C a(n) = A007953(A011545(n)). - _Reinhard Zumkeller_, Oct 30 2003

%C The partial sums to 10^k, k>=0: 4, 44, 480, 4479, 44897, 449336, 4499937, 45002885, 449989731, .... - _Robert G. Wilson v_, Sep 16 2007

%C If the sequence were to start with an initial term a(0) = 0, its first differences would reproduce the complete sequence of digits of Pi. - _M. F. Hasler_, Jan 19 2015

%H Mital Ashok, <a href="/A046974/b046974.txt">Table of n, a(n) for n = 0..999</a>

%t Rest@ FoldList[ Plus, 0, First@ RealDigits[Pi, 10, 58]] (* _Robert G. Wilson v_, Sep 16 2007 *)

%t Accumulate[RealDigits[Pi,10,60][[1]]] (* _Harvey P. Dale_, Mar 11 2013 *)

%Y Cf. A000796, A089290.

%K nonn,base,easy

%O 0,1

%A _N. J. A. Sloane_