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!)
A135373 a(n) = prime(2^(n + 1)) - prime(2^n). 2
1, 4, 12, 34, 78, 180, 408, 900, 2052, 4490, 9702, 21010, 45144, 96486, 205590, 435548, 920896, 1938594, 4072946, 8535970, 17845982, 37242540, 77569570, 161300102, 334906956, 694329000, 1437620932, 2972973918, 6141189354, 12672042908, 26122458858, 53799031890 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A033844(n+1) - A033844(n). - Jinyuan Wang, Nov 14 2020
MATHEMATICA
Table[Prime[2^(n + 1)] - Prime[2^n], {n, 0, 40}]
#[[2]]-#[[1]]&/@Partition[Prime[2^Range[0, 30]], 2, 1] (* Harvey P. Dale, Feb 21 2015 *)
PROG
(PARI) a(n) = prime(2^(n + 1)) - prime(2^n); \\ Michel Marcus, Nov 15 2020
CROSSREFS
Sequence in context: A317974 A119683 A331834 * A338695 A209818 A094893
KEYWORD
nonn
AUTHOR
Marvin Ray Burns, Dec 09 2007
EXTENSIONS
a(29)-a(31) from Jinyuan Wang, Nov 14 2020
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 June 26 12:21 EDT 2024. Contains 373718 sequences. (Running on oeis4.)