A139726 Number of digits between successive occurrences of digit 8 in decimal representation of Pi.
6, 7, 7, 0, 16, 14, 6, 3, 2, 2, 3, 12, 3, 1, 5, 10, 9, 12, 2, 1, 8, 9, 17, 7, 6, 0, 16, 5, 4, 2, 18, 11, 11, 25, 11, 0, 3, 0, 10, 17, 19, 0, 9, 41, 5, 15, 2, 21, 0, 7, 7, 1, 10, 18, 28, 30, 4, 1, 17, 12, 3, 11, 12, 5, 22, 14, 3, 24, 7, 3, 19, 14, 5, 15, 7, 17, 11, 7, 11, 0, 12, 1, 3, 0, 2, 6, 1
Offset: 1
Programs
-
Mathematica
Differences[Flatten[Position[RealDigits[Pi,10,1000][[1]],8]]]-1 (* Harvey P. Dale, Feb 11 2016 *)