A295111 Primes p such that 2^p - p is also a prime.
2, 3, 13, 19, 481801
Offset: 1
Examples
p=13, 2^13 - 13 = 8179 is prime.
Programs
-
PARI
lista(nn) = forprime(p=2, nn, if(ispseudoprime(2^p - p), print1(p, ", ")))
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
p=13, 2^13 - 13 = 8179 is prime.
lista(nn) = forprime(p=2, nn, if(ispseudoprime(2^p - p), print1(p, ", ")))
Comments