login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A339545
Primes p such that A007088(p) == A151799(p) (mod p).
0
3, 19, 29, 691
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