login
A260628
Union of missing numbers in first 10, 100, 1000, 10000, ... digits after the decimal point in expansion of Pi.
2
0, 7, 8, 12, 13, 18, 22, 24, 29, 31, 36, 47, 52, 54, 55, 56, 57, 60, 61, 63, 66, 68, 72, 73, 76, 77, 85, 87, 90, 91, 96, 103, 106, 107, 108, 114, 123, 124, 125, 126, 131, 135, 140, 143, 144, 149, 150, 154, 156, 157, 158, 161, 162, 163, 166, 167, 168, 175, 180
OFFSET
1,2
COMMENTS
Analogous to A228988 and A260627.
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
Sequence in context: A050796 A106630 A050798 * A280999 A024706 A050901
KEYWORD
nonn,base
AUTHOR
STATUS
approved