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!)
A118558 a(n) = (2^n-1)^4 - 2. 0
-2, -1, 79, 2399, 50623, 923519, 15752959, 260144639, 4228250623, 68184176639, 1095222947839, 17557851463679, 281200199450623, 4501401006735359, 72040003462430719, 1152780773560811519, 18445618199572250623, 295138898083176775679, 4722294425687923097599 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = (2^n - 1)^4 - 2.
G.f.: (1984*x^4-2120*x^3+510*x^2-61*x+2) / ((x-1)*(2*x-1)*(4*x-1)*(8*x-1)*(16*x-1)). - Colin Barker, Apr 30 2013
EXAMPLE
a(0) = (2^0 - 1)^4 - 2 = 0^4 - 2 = -2.
a(1) = (2^1 - 1)^4 - 2 = 1^4 - 2 = -1.
a(2) = (2^2 - 1)^4 - 2 = 3^4 - 2 = 79.
MATHEMATICA
(2^Range[0, 20] - 1)^4 - 2 (* Paolo Xausa, Apr 19 2024 *)
PROG
(PARI) a(n)=(2^n-1)^4-2 \\ Charles R Greathouse IV, Feb 19 2016
CROSSREFS
Sequence in context: A247793 A067276 A118580 * A095837 A095835 A147805
KEYWORD
easy,sign
AUTHOR
Jonathan Vos Post, May 03 2006
EXTENSIONS
Offset changed to 0 by Paolo Xausa, Apr 19 2024
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 22 19:48 EDT 2024. Contains 372758 sequences. (Running on oeis4.)