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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139238 First differences of Mersenne numbers A001348. 5
4, 24, 96, 1920, 6144, 122880, 393216, 7864320, 528482304, 1610612736, 135291469824, 2061584302080, 6597069766656, 131941395333120, 8866461766385664, 567453553048682496, 1729382256910270464, 145268109580462718976, 2213609288845146193920 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Also, first differences of 2^prime(n) = A034785(n). - Wesley Ivan Hurt, Jul 02 2014

LINKS

Felix Fröhlich, Table of n, a(n) for n = 1..59

FORMULA

a(n) = A001348(n+1) - A001348(n).

a(n) = A034785(n+1) - A034785(n). - Wesley Ivan Hurt, Jul 02 2014

EXAMPLE

a(2)=24 because A001348(2)=7 and A001348(2+1)=31 then 31-7 = 24.

MAPLE

A139238:=n->2^ithprime(n+1)-2^ithprime(n): seq(A139238(n), n=1..20); # Wesley Ivan Hurt, Jul 02 2014

MATHEMATICA

Table[2^Prime[n + 1] - 2^Prime[n], {n, 20}] (* Wesley Ivan Hurt, Jul 02 2014 *)

PROG

(PARI) for(n=1, 20, d=2^prime(n+1)-2^prime(n); print1(d, ", ")) \\ Felix Fröhlich, Jun 30 2014

CROSSREFS

Cf. A001348, A139228, A139231, A139234, A139239, A139240, A139241, A139242, A139243.

Cf. A034785.

Sequence in context: A091143 A119920 A100738 * A139231 A052462 A260217

Adjacent sequences:  A139235 A139236 A139237 * A139239 A139240 A139241

KEYWORD

easy,nonn

AUTHOR

Omar E. Pol, Apr 19 2008

EXTENSIONS

a(10)-a(19) from Felix Fröhlich, Jun 30 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 January 26 05:10 EST 2020. Contains 331273 sequences. (Running on oeis4.)