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.

A262098 Primes p such that 2^p + 9 is also prime.

This page as a plain text file.
%I A262098 #30 Oct 31 2024 21:05:57
%S A262098 2,3,5,7,23,37,47,263,317,3229,3253
%N A262098 Primes p such that 2^p + 9 is also prime.
%C A262098 a(12) > 100000. - _Dana Jacobsen_, Oct 03 2015
%C A262098 a(12) > 382198 using A057196. - _Michael S. Branicky_, Oct 31 2024
%e A262098 5 is in sequence because 2^5 + 9 = 41 is prime.
%t A262098 Select[Prime[Range[1000]], PrimeQ[2^# + 9] &]
%o A262098 (Magma) [p: p in PrimesUpTo(1000) | IsPrime(2^p+9)];
%o A262098 (PARI) for(n=1, 1e3, if(isprime((2^prime(n))+9), print1(prime(n)", "))) \\ _Altug Alkan_, Sep 18 2015
%o A262098 (Perl) use ntheory ":all"; use Math::GMP qw/:constant/; forprimes { say if is_prime(2**$_+9) } 10000; # _Dana Jacobsen_, Oct 03 2015
%Y A262098 Subsequence of primes of A057196.
%Y A262098 Cf. primes p such that 2^p+k is a prime: A057736 (k=3), A175173 (k=5), this sequence (k=9), A155780 (k=11), A175234 (k=15), A262099 (k=17), A175235 (k=21), A175236 (k=23), A262934 (k=27), A262100 (k=29), A262201 (k=33), A262962 (k=35).
%K A262098 nonn,more
%O A262098 1,1
%A A262098 _Vincenzo Librandi_, Sep 18 2015