login
Pair reversal of a Jacobsthal sequence.
4

%I #23 May 08 2024 08:53:11

%S 0,1,2,2,10,6,42,22,170,86,682,342,2730,1366,10922,5462,43690,21846,

%T 174762,87382,699050,349526,2796202,1398102,11184810,5592406,44739242,

%U 22369622,178956970,89478486,715827882,357913942,2863311530,1431655766

%N Pair reversal of a Jacobsthal sequence.

%C Pair reversal of A078008.

%C 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

%H Vincenzo Librandi, <a href="/A094359/b094359.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (-1,4,4).

%F a(n) = 5*2^n/12 - 2(-1)^n/3 + (-2)^n/4.

%F G.f.: x*(1+3*x)/((1+x)*(1-4*x^2)).

%F a(n+1) - 2*a(n) = A000918(n) signed. - _Paul Curtz_, Jun 29 2008

%o (Magma) [5*2^n/12-2*(-1)^n/3+(-2)^n/4: n in [0..35]]; // _Vincenzo Librandi_, Aug 12 2011

%Y Cf. A078008, A084183, A094360.

%K easy,nonn

%O 0,3

%A _Paul Barry_, Apr 26 2004