[go: up one dir, main page]

login
A354482
Positions of 0's in binary expansion of Pi.
0
1, 2, 4, 5, 7, 8, 9, 10, 17, 20, 22, 24, 26, 27, 28, 30, 31, 32, 34, 35, 36, 37, 39, 42, 44, 45, 46, 49, 50, 51, 52, 54, 55, 56, 59, 61, 62, 65, 66, 67, 69, 70, 73, 74, 75, 78, 79, 82, 83, 84, 86, 88, 89, 90, 92, 96, 97, 98, 99, 100, 101, 102, 105, 109, 110
OFFSET
1,2
COMMENTS
Complement of A256108.
FORMULA
a(n) = A320300(n) - 2.
EXAMPLE
Pi in binary is 11.0010010000111111011010101000100010000101..., so this sequence starts with 1, 2, 4, 5, 7, 8, 9, 10, 17, 20, 22, ...
MATHEMATICA
Flatten[Position[RealDigits[Pi, 2, 200][[1]], 0] - 2] (* after the program for A320300 from Alonso del Arte *)
PROG
(PARI) default(realprecision, 100); v = select(x->(x==0), binary(Pi)[2], 1) \\ after the program for A320300 from Michel Marcus
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jianing Song, May 27 2022
STATUS
approved