OFFSET
0,1
COMMENTS
Essentially first differences of A010674.
Inverse binomial transform of 3 followed by A000004.
Second inverse binomial transform of A010701.
Third inverse binomial transform of A007283.
Fourth inverse binomial transform of A000244 without initial term 1.
Fifth inverse binomial transform of A164346.
Sixth inverse binomial transform of A005053 without initial term 1.
Seventh inverse binomial transform of A169604.
Eighth inverse binomial transform of A169634.
Ninth inverse binomial transform of A103333 without initial term 1.
Tenth inverse binomial transform of A013708.
Eleventh inverse binomial transform of A093138 without initial term 1.
LINKS
FORMULA
a(n) = 3*(-1)^n.
a(n) = -a(n-1) for n > 0; a(0) = 3.
a(n) = a(n-2) for n > 1; a(0) = 3, a(1) = -3.
G.f.: 3/(1+x).
MATHEMATICA
PadRight[{}, 120, {3, -3}] (* or *) NestList[-1#&, 3, 120] (* Harvey P. Dale, Dec 30 2023 *)
PROG
(Magma) &cat[ [3, -3]: n in [0..41] ];
[ 3*(-1)^n: n in [0..83] ];
(PARI) a(n)=3*(-1)^n \\ Charles R Greathouse IV, Jun 13 2013
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Klaus Brockhaus, Apr 04 2010
STATUS
approved