login
A172406
Sum of successive digits of Pi - 3 by 10 terms.
0
41, 59, 47, 45, 52, 52, 45, 50, 46, 40, 43, 41, 48, 35, 45, 33, 35, 41, 54, 48, 48, 47, 49, 54, 32, 55, 35, 44, 40, 33, 45, 44, 39, 47, 45, 49, 21, 45, 42, 40, 36, 58, 38, 47, 36, 51, 54, 49, 50, 38
OFFSET
1,1
EXAMPLE
a(1)=1+4+1+5+9+2+6+5+3+5.
The first ten digits of Pi-3 are 1,4,1,5,9,2,6,5,3,and 5, the sum of which is a(1)=41. The second ten digits of Pi-3 are 8,9,7,9,3,2,3,8,4,and 6, the sum of which is a(2)=59. - Harvey P. Dale, Jun 03 2015
MATHEMATICA
$MaxExtraPrecision = 10000; a = {}; b = Pi - 3; Do[b = b*10^10; AppendTo[a, Plus @@ IntegerDigits[Floor[b]]]; b = FractionalPart[b], {50}]; a
With[{trms=50}, Total/@Partition[RealDigits[Pi-3, 10, 10*trms][[1]], 10]] (* Harvey P. Dale, Jun 03 2015 *)
CROSSREFS
Sequence in context: A116345 A127333 A262722 * A161613 A345042 A210338
KEYWORD
nonn,base
AUTHOR
Paul Curtz, Nov 20 2010
STATUS
approved