Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #5 Aug 29 2012 17:14:59
%S 8,6,10,15,16,17,13,14,13,16,22,24,25,19,14,8,13,15,18,12,14,12,13,10,
%T 14,14,13,12,18,21,14,7,10,18,20,13,14,17,17,14,16,18,21,21,21,19,15,
%U 13,6,6,13,15,10,11,16,20,20,17,17,13,18,16,14,5,10,15,16,15,11,10,10
%N Sum of 3 consecutive digits of Pi.
%H R. K. Hoeflin, <a href="http://www.eskimo.com/~miyaguch/ultra..html">Ultra Test</a>
%e a(1) = 3 + 1 + 4 = 8, a(2) = 1 + 4 + 1 = 6, a(3) = 4 + 1 + 5 = 10
%t nn=80;With[{pi=RealDigits[Pi,10,nn+2][[1]]},Total/@Partition[pi,3,1]] (* _Harvey P. Dale_, Aug 29 2012 *)
%K nonn,easy,base
%O 1,1
%A Anonymous, Feb 20 2000
%E More terms from _James A. Sellers_, Feb 22 2000