OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-70,120,-64).
FORMULA
G.f.: (136*x^3-100*x^2+29*x-2) / ((x-1)*(2*x-1)*(4*x-1)*(8*x-1)). - Colin Barker, Apr 30 2013
EXAMPLE
a(2) = (2^2 - 1)^3 - 2 = 25.
MATHEMATICA
Table[(2^n - 1)^3 - 2, {n, 0, 20}] (* Stefan Steinerberger, Feb 15 2006 *)
(2^Range[0, 20]-1)^3-2 (* or *) LinearRecurrence[{15, -70, 120, -64}, {-2, -1, 25, 341}, 30] (* Harvey P. Dale, Jan 29 2016 *)
PROG
(PARI) a(n) = (2^n - 1)^3 - 2; \\ Joerg Arndt, Apr 30 2013
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Parthasarathy Nambi, Oct 13 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 15 2006
STATUS
approved