login
A099293
Number of times the digit 2 appears in the first 10^n digits of Pi.
12
1, 12, 103, 1021, 9908, 100026, 1000306, 10001092, 100002410, 1000017271, 10000026432, 100000480057
OFFSET
1,2
REFERENCES
Alfred S. Posamentier & Ingmar Lehmann, A Biography of the World's Most Mysterious Number, Prometheus Books, Amherst, NY 2004, page 129.
LINKS
Eric Weisstein's World of Mathematics, Pi Digits
MATHEMATICA
$MaxPrecision = 1100000; dp = Drop[ RealDigits[Pi, 10, 1000010] [[1]], 1]; Table[ Count[ Take[dp, 10^n], 2], {n, 6}]
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Oct 11 2004
STATUS
approved