OFFSET
0,2
COMMENTS
Sequence opposite to its second differences.
Degenerate case of a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) with n > 3 (for which the sequence is identical to its fourth differences).
LINKS
FORMULA
G.f.: (1+2*x)/(1-2*x+2*x^2). - Colin Barker, Mar 28 2012
a(n) = (1/2 + 3*i/2)*(1 - i)^n + (1/2 - 3*i/2)*(1 + i)^n, n >= 0, where i=sqrt(-1). - Taras Goy, Apr 20 2019
PROG
(Magma) m:=41; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((1+2*x)/(1-2*x+2*x^2))); // Bruno Berselli, Mar 28 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Apr 18 2008
EXTENSIONS
More terms from Bruno Berselli, Mar 28 2012
STATUS
approved