OFFSET
1,1
COMMENTS
Primes p such that the binary representation of p, considered as a decimal number, is congruent mod p to the prime previous to p.
No other terms < 10^11. - Max Alekseyev, Feb 04 2024
EXAMPLE
a(3) = 29 is a member because 29 = 11101_2, 11101 == 23 (mod 29), and 23 is the prime previous to 29.
MAPLE
select(t -> isprime(t) and convert(t, binary) mod t = prevprime(t), [seq(i, i=3..1000, 2)]);
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
J. M. Bergot and Robert Israel, Dec 08 2020
STATUS
approved