OFFSET
0
COMMENTS
The binomial transform is 1, 0, 0, 1, 3, 6, 10, 15,..., i.e. A161680 with a 1 in front. The inverse binomial transform is 1, -2, 4, -7, 11, -16, 22, -29, 37, -46, 56,.. a variant of A000124. - R. J. Mathar, Feb 16 2023
FORMULA
EXAMPLE
G.f. = 1 - x + x^2.
G.f. = 1/q - 1 + q.
MATHEMATICA
PadRight[{1, -1, 1}, 100] (* Paolo Xausa, Feb 09 2024 *)
PROG
(PARI) {a(n) = (-1)^n * (n>=0 && n<=2)};
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Michael Somos, Oct 07 2015
STATUS
approved