login
A128019
Expansion of (1 - 3x)/(1 + 3*x^2).
4
1, -3, -3, 9, 9, -27, -27, 81, 81, -243, -243, 729, 729, -2187, -2187, 6561, 6561, -19683, -19683, 59049, 59049, -177147, -177147, 531441, 531441, -1594323, -1594323, 4782969, 4782969, -14348907, -14348907, 43046721, 43046721, -129140163, -129140163, 387420489, 387420489
OFFSET
0,2
FORMULA
a(n) = 3^floor((n+1)/2)*(-1)^C(n+1,2).
Binomial transform is A128018.
E.g.f.: cos(sqrt(3)*x) - sqrt(3)*sin(sqrt(3)*x). - Stefano Spezia, Dec 31 2022
MATHEMATICA
CoefficientList[Series[(1 - 3x)/(1 + 3*x^2), {x, 0, 40}], x] (* Stefano Spezia, Dec 31 2022 *)
CROSSREFS
Sequence in context: A145957 A214439 A287479 * A056449 A108411 A162436
KEYWORD
easy,sign
AUTHOR
Paul Barry, Feb 11 2007
STATUS
approved