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!)
A092262 Primes p which equal prime(2^k) - prime(2^(k-1)) + 1 for some k. 1
2, 5, 13, 79, 181, 409, 2053, 21011, 96487, 1235199066139957, 180572921869744273, 747909478827063599 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Prime(2^12)-prime(2^11) + 1 = 21011 is prime.
MATHEMATICA
Select[#[[2]]-#[[1]]+1&/@Partition[Prime[2^Range[0, 30]], 2, 1], PrimeQ] (* Harvey P. Dale, Jul 08 2021 *)
PROG
(PARI) f(n)= for(x=1, n, y=prime(2^x)-prime(2^(x-1))+1; if(isprime(y), print1(y", ")))
CROSSREFS
Cf. A345982 (values of k), A033844.
Sequence in context: A215167 A349735 A081650 * A365326 A096280 A236395
KEYWORD
nonn,more,hard
AUTHOR
Cino Hilliard, Feb 20 2004
EXTENSIONS
Corrected and edited by N. J. A. Sloane, following a suggestion from Harvey P. Dale, Jul 07 2021
a(10)-a(12) from Mohammed Yaseen, Jul 08 2021
STATUS
approved

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 April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)