login
A135949
a(n) = 5*a(n-2) + 2*a(n-3).
0
1, -1, 1, -3, 3, -13, 9, -59, 19, -277, -23, -1347, -669, -6781, -6039, -35243, -43757, -188293, -289271, -1028979, -1822941, -5723437, -11172663, -32263067, -67310189, -183660661, -401077079, -1052923683, -2372706717, -6066772573, -13969380951, -35079276299
OFFSET
0,4
FORMULA
G.f.: (1-x-4x^2)/((1+2x)(1-2x-x^2)). [R. J. Mathar, Feb 07 2009]
MATHEMATICA
LinearRecurrence[{0, 5, 2}, {1, -1, 1}, 35] (* Paolo Xausa, Jan 29 2024 *)
CROSSREFS
Sequence in context: A368960 A306529 A200921 * A168234 A141245 A147032
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Mar 02 2008
EXTENSIONS
More terms from R. J. Mathar, Feb 07 2009
a(30)-a(31) from Paolo Xausa, Jan 29 2024
STATUS
approved