cp's OEIS Frontend

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.

A295111 Primes p such that 2^p - p is also a prime.

This page as a plain text file.
%I A295111 #13 Nov 21 2017 20:00:12
%S A295111 2,3,13,19,481801
%N A295111 Primes p such that 2^p - p is also a prime.
%C A295111 a(6) > 1061095.
%C A295111 Intersection of A000040 and A048744.
%C A295111 Since numbers other than 3 that are congruent to 3 mod 6 are composite, for n > 2, a(n) is congruent to 1 mod 6 (see comments by _Iain Fox_ in A048744).
%e A295111 p=13, 2^13 - 13 = 8179 is prime.
%o A295111 (PARI) lista(nn) = forprime(p=2, nn, if(ispseudoprime(2^p - p), print1(p, ", ")))
%Y A295111 Cf. A000325, A081296, A048744, A057663, A057673.
%K A295111 hard,more,nonn
%O A295111 1,1
%A A295111 _Iain Fox_, Nov 14 2017