|
|
A094359
|
|
Pair reversal of a Jacobsthal sequence.
|
|
4
|
|
|
0, 1, 2, 2, 10, 6, 42, 22, 170, 86, 682, 342, 2730, 1366, 10922, 5462, 43690, 21846, 174762, 87382, 699050, 349526, 2796202, 1398102, 11184810, 5592406, 44739242, 22369622, 178956970, 89478486, 715827882, 357913942, 2863311530, 1431655766
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
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
|
|
|
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)).
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|