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
2, 5, 233, 337, 12161, 50647, 300757, 1594297, 18191441, 31855007, 46268273, 58863863, 86938301, 95443987, 124251493, 214921793, 410172401, 714924289, 849278117, 904231057, 1102302931, 1341919721, 1672446197, 2212245121, 2588282111, 2881473961, 2918076583, 3067586671, 3532642661, 3936827533, 4243659653, 4599141241 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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), ...

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..65

EXAMPLE

2 = 2^3 - 2*3.

PROG

(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

CROSSREFS

Cf. A201310, A248602.

Sequence in context: A084297 A041873 A072118 * A135724 A137068 A137066

Adjacent sequences:  A249177 A249178 A249179 * A249181 A249182 A249183

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Oct 22 2014

EXTENSIONS

a(9)-a(32) from Charles R Greathouse IV, Oct 22 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 20 01:18 EST 2022. Contains 350467 sequences. (Running on oeis4.)