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