A104769 Expansion of g.f. -x/(1+x-x^3).
0, -1, 1, -1, 0, 1, -2, 2, -1, -1, 3, -4, 3, 0, -4, 7, -7, 3, 4, -11, 14, -10, -1, 15, -25, 24, -9, -16, 40, -49, 33, 7, -56, 89, -82, 26, 63, -145, 171, -108, -37, 208, -316, 279, -71, -245, 524, -595, 350, 174, -769, 1119, -945, 176, 943, -1888, 2064, -1121, -767, 2831, -3952
Offset: 0
Links
- Michael De Vlieger, Table of n, a(n) for n = 0..10000
- Paul Barry, Centered polygon numbers, heptagons and nonagons, and the Robbins numbers, arXiv:2104.01644 [math.CO], 2021.
- Index entries for linear recurrences with constant coefficients, signature (-1,0,1).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{-1, 0, 1}, {0, -1, 1}, 61] (* or *) CoefficientList[Series[-x/(1 + x - x^3), {x, 0, 60}], x] (* Michael De Vlieger, Jul 02 2021 *)
-
PARI
a(n)=([0,1,0;0,0,1;1,0,-1]^n*[0;-1;1])[1,1] \\ Charles R Greathouse IV, Jun 11 2015
Formula
Extensions
Edited by Ralf Stephan, Apr 05 2009
Comments