OFFSET
1,2
LINKS
MIT Student Information Processing Board, One billion (10^9) digits of pi.
EXAMPLE
In the first 10^1 digits of Pi after the decimal (1415926535), the digits 0, 7 and 8 do not appear, so they are members of this sequence.
In the first 10^2 digits of Pi after the decimal, the terms 12, 13, 18, ... 90, 91, 96 do not appear, so they are members of this sequence.
PROG
(Python)
with open("newseq.txt", "w") as keep:
....for a in range(1, 8):
........start = 0
........best = 0
........with open("pi-billion.txt", "r") as f:
............g = f.read(10**a)
............while start < 10**a:
................if g.find(str(start)) == -1:
....................keep.write(str(start)+"\n")
....................best = start
................start += 1
# David Consiglio, Jr., Nov 11 2015
# http://stuff.mit.edu/afs/sipb/contrib/pi/pi-billion.txt
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David Consiglio, Jr., Nov 11 2015
STATUS
approved