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”).

Primes p such that A007088(p) == A151799(p) (mod p).
0

%I #11 Feb 04 2024 14:14:31

%S 3,19,29,691

%N Primes p such that A007088(p) == A151799(p) (mod p).

%C Primes p such that the binary representation of p, considered as a decimal number, is congruent mod p to the prime previous to p.

%C No other terms < 10^11. - _Max Alekseyev_, Feb 04 2024

%e a(3) = 29 is a member because 29 = 11101_2, 11101 == 23 (mod 29), and 23 is the prime previous to 29.

%p select(t -> isprime(t) and convert(t,binary) mod t = prevprime(t), [seq(i,i=3..1000,2)]);

%Y Cf. A007088, A151799, A339544.

%K nonn,base,more

%O 1,1

%A _J. M. Bergot_ and _Robert Israel_, Dec 08 2020