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!)
A074325 Difference between (1+2^n)-th and (2^n)-th primes. Also number of terms in blocks of A073798. 5
1, 2, 4, 4, 6, 6, 2, 8, 2, 2, 6, 18, 18, 30, 8, 24, 6, 2, 18, 4, 26, 30, 34, 2, 10, 30, 10, 2, 30, 6, 70, 4, 12, 22, 6, 24, 26, 10, 88, 2, 50, 18, 6, 20, 14, 4, 12, 6, 2, 56, 4, 30, 42, 6, 70, 74, 14, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A051439(n) - A033844(n).
EXAMPLE
n=39: 2^39=549755813888, prime[549755813889]=16149760533343, prime[549755813888]=16149760533341, difference=2, just twin primes.
MATHEMATICA
Table[Prime[1+2^w]-Prime[2^w], {w, 1, 39}]
CROSSREFS
Sequence in context: A152782 A307119 A266076 * A058249 A340226 A348769
KEYWORD
nonn,hard
AUTHOR
Labos Elemer, Aug 21 2002
EXTENSIONS
More terms from Michel ten Voorde Jun 13 2003
a(42) from Max Alekseyev, May 08 2009
Offset corrected by Max Alekseyev, Oct 24 2013
a(43)-a(57) from Chai Wah Wu, Aug 30 2019
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 26 18:14 EDT 2024. Contains 372004 sequences. (Running on oeis4.)