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.

A242929 Primes p such that 2^p - p^2 is prime.

This page as a plain text file.
%I A242929 #32 Jun 26 2022 03:08:16
%S A242929 5,7,17,19,53,83,227,461,2221,3547,9029,119087
%N A242929 Primes p such that 2^p - p^2 is prime.
%C A242929 a(12) > 23053. - _Robert Israel_, Jun 10 2014
%F A242929 a(n) = prime(A117587(n)). - _Daniel Suteu_, Jun 25 2022
%e A242929 5 is in this sequence because 5 and 2^5 - 5^2 = 7 are both prime.
%p A242929 select(p -> isprime(p) and isprime(2^p - p^2), {2} union {seq(2*i+1,i=1..2000)});# _Robert Israel_, Jun 10 2014
%t A242929 Select[Prime[Range[300]], PrimeQ[2^# - #^2] &] (* _Alonso del Arte_, May 27 2014 *)
%o A242929 (Magma) [p: p in PrimeUpTo(2200) | IsPrime(2^p - p^2)];
%o A242929 (PARI) isok(p) = isprime(p) && ispseudoprime(2^p - p^2); \\ _Daniel Suteu_, Jun 25 2022
%Y A242929 Cf. A098105, A117587.
%Y A242929 Subsequence of A072180.
%K A242929 nonn,more
%O A242929 1,1
%A A242929 _Juri-Stepan Gerasimov_, May 27 2014
%E A242929 a(9) from _Alonso del Arte_, May 27 2014
%E A242929 a(10) from _Alois P. Heinz_, May 28 2014
%E A242929 a(11) from _Robert Israel_, Jun 10 2014
%E A242929 a(12) added by _Daniel Suteu_, Jun 25 2022