OFFSET
1,1
COMMENTS
Base 2 analog of A088565 (prime positions of '1's in decimal digits of Pi).
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
Written in binary, Pi = 11.0010010000111111011010101000100010...[2] = Sum_{n >= -1} 2^-A256108(n), so the bits 1 have positions (-1, 0, 3, 6, 11, 12, 13, 14, 15, 16, 18, 19, 21, 23, 25, 29, 33, ...) and primes in this sequence are (3, 11, 13, 19, 23, ...) = this sequence.
MATHEMATICA
Select[PositionIndex[First[RealDigits[Pi, 2, 1000]]][1] - 2, PrimeQ] (* Paolo Xausa, Jul 31 2024 *)
PROG
(PARI) select(isprime, A256108_upto(777))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Jul 27 2024
STATUS
approved