OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(50)=9-1=8 because 3 appears 9 times in the first 50 digits of pi, 0 appears once and other digits are between these two.
MATHEMATICA
Module[{nn=110, p, t}, p=RealDigits[Pi, 10, nn][[1]]; Table[t=DigitCount[ FromDigits[ Take[p, n]]]; Max[t]-Min[t], {n, nn}]] (* Harvey P. Dale, Nov 26 2014 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Henry Bottomley, Mar 08 2000
STATUS
approved