OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1, 6).
FORMULA
a(n+1)-3a(n) = (-1)^n*A000079(n-1), n>0.
d(n+1)-3d(n) = (-1)^(n+1)*A000079(n-1), n>0, where d(n) is the sequence of pair sums d(n)= a(n)+a(n+1)=6, 19, 58, 172,...
O.g.f.: (1+x)(3x+1)/((2x+1)(1-3x)). - R. J. Mathar, Jul 29 2008
a(n) = (-1)^(n+1)*2^n/10+8*3^n/5, n>0. - R. J. Mathar, Jul 29 2008
MATHEMATICA
Join[{1}, LinearRecurrence[{1, 6}, {5, 14}, 30]] (* Harvey P. Dale, Nov 20 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Jul 15 2008
EXTENSIONS
Edited and extended by R. J. Mathar, Jul 29 2008
STATUS
approved