login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141088 a(n) = prime(2^n) - 2*n. 0
1, 3, 13, 45, 121, 299, 705, 1603, 3653, 8141, 17841, 38849, 83991, 180475, 386063, 821609, 1742503, 3681095, 7754039, 16290007, 34135987, 71378525, 148948093, 310248193, 645155147, 1339484145, 2777105075, 5750078991, 11891268343, 24563311249, 50685770105 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..31.

FORMULA

a(n) = A033844(n) - A005843(n).

EXAMPLE

a(1) = prime(2^1) - 2*1 = prime(2) - 2 = 3 - 2 = 1;

a(4) = prime(2^4) - 2*4 = prime(16) - 8 = 53 - 8 = 45.

MAPLE

seq(ithprime(2^n)-2*n, n=1..24); # Emeric Deutsch, Aug 27 2008

MATHEMATICA

Table[Prime[2^n]-2n, {n, 30}] (* Harvey P. Dale, Oct 11 2014 *)

PROG

(PARI) a(n) = prime(2^n) - 2*n; \\ Michel Marcus, Mar 25 2019

CROSSREFS

Cf. A033844, A005843.

Sequence in context: A136520 A212416 A058934 * A187915 A115128 A140420

Adjacent sequences:  A141085 A141086 A141087 * A141089 A141090 A141091

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov Jul 31 2008

EXTENSIONS

Corrected and extended by Emeric Deutsch, Aug 27 2008

More terms from Harvey P. Dale, Oct 11 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 November 28 07:44 EST 2020. Contains 338702 sequences. (Running on oeis4.)