The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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
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. A034785.
Sequence in context: A091143 A119920 A100738 * A139231 A052462 A260217
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 13:22 EDT 2024. Contains 372715 sequences. (Running on oeis4.)