OFFSET
0,3
COMMENTS
Pair reversal of A078008.
Pisano period lengths: 1, 1, 6, 1, 4, 6, 6, 2, 18, 4, 10, 6, 12, 6, 12, 2, 8, 18, 18, 4, ... - R. J. Mathar, Aug 10 2012
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-1,4,4).
FORMULA
a(n) = 5*2^n/12 - 2(-1)^n/3 + (-2)^n/4.
G.f.: x*(1+3*x)/((1+x)*(1-4*x^2)).
a(n+1) - 2*a(n) = A000918(n) signed. - Paul Curtz, Jun 29 2008
PROG
(Magma) [5*2^n/12-2*(-1)^n/3+(-2)^n/4: n in [0..35]]; // Vincenzo Librandi, Aug 12 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 26 2004
STATUS
approved