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!)
A137781 a(n) = (2^prime(n) + 2^prime(n+1)) / 4. 2
3, 10, 40, 544, 2560, 34816, 163840, 2228224, 136314880, 671088640, 34896609280, 584115552256, 2748779069440, 37383395344384, 2286984185774080, 146366987889541120, 720575940379279360, 37469948899722526720, 627189298506124754944 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Note that 4 is 2^prime(1).
LINKS
FORMULA
From Wesley Ivan Hurt, Mar 27 2015: (Start)
a(n) = A137389(n)/4.
a(n) = (A034785(n) + A034785(n+1))/4. (End)
MAPLE
A137781:=n->(2^ithprime(n)+2^ithprime(n+1))/4: seq(A137781(n), n=1..20); # Wesley Ivan Hurt, Mar 27 2015
MATHEMATICA
Table[(2^Prime[n] + 2^Prime[n + 1])/4, {n, 20}] (* Wesley Ivan Hurt, Mar 27 2015 *)
(2^#[[1]]+2^#[[2]])/4&/@Partition[Prime[Range[20]], 2, 1] (* Harvey P. Dale, Dec 21 2019 *)
PROG
(Magma) [(2^NthPrime(n) + 2^NthPrime(n+1)) / 4: n in [1..20]]; // Vincenzo Librandi, Mar 28 2015
(PARI) vector(15, n, (2^prime(n)+2^prime(n+1))/4) \\ Derek Orr, Mar 29 2015
CROSSREFS
Sequence in context: A297213 A216386 A256157 * A208125 A213108 A163843
KEYWORD
nonn,easy
AUTHOR
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 August 8 01:46 EDT 2024. Contains 375018 sequences. (Running on oeis4.)