login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249180 Primes of the form p^q - 2q, where p and q are prime. 1

%I #14 Oct 26 2014 01:11:43

%S 2,5,233,337,12161,50647,300757,1594297,18191441,31855007,46268273,

%T 58863863,86938301,95443987,124251493,214921793,410172401,714924289,

%U 849278117,904231057,1102302931,1341919721,1672446197,2212245121,2588282111,2881473961,2918076583,3067586671,3532642661,3936827533,4243659653,4599141241

%N Primes of the form p^q - 2q, where p and q are prime.

%C 2 generated by (p = 2, q = 3), 5(3, 2), 233(3, 5), 337(7, 2), 12161(23, 3), 50647(37, 3), 300757(67, 3), 1594297(3, 13), ...

%H Charles R Greathouse IV, <a href="/A249180/b249180.txt">Table of n, a(n) for n = 1..65</a>

%e 2 = 2^3 - 2*3.

%o (PARI) is(n)=forprime(q=2,log(n)\log(2)+2,if(isprimepower(n+2*q)==q, return(isprime(n)))); 0 \\ _Charles R Greathouse IV_, Oct 22 2014

%Y Cf. A201310, A248602.

%K nonn

%O 1,1

%A _Juri-Stepan Gerasimov_, Oct 22 2014

%E a(9)-a(32) from _Charles R Greathouse IV_, Oct 22 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 08:52 EDT 2024. Contains 372373 sequences. (Running on oeis4.)