%I
%S 2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,
%T 3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,
%U 2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2
%N First difference of A106252.
%C It appears that this sequence is periodic with period 6.
%C Terms of the simple continued fraction of 21/[2*sqrt(78)-9]. Decimal expansion of 2441/10989. [From _Paolo P. Lava_, Aug 05 2009]
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (-1, 0, 1, 1).
%F a(n)=1/90*{-4*(n mod 6)+41*[(n+1) mod 6]-19*[(n+2) mod 6]+26*[(n+3) mod 6]+11*[(n+4) mod 6]+11*[(n+5) mod 6]} - _Paolo P. Lava_, Nov 21 2006
%F a(n)=1/90*{-4*(n mod 6)+41*[(n+1) mod 6]-19*[(n+2) mod 6]+26*[(n+3) mod 6]+11*[(n+4) mod 6]+11*[(n+5) mod 6]} with n>=0 - _Paolo P. Lava_, Nov 27 2006
%t LinearRecurrence[{-1, 0, 1, 1},{2, 2, 2, 1},105] (* _Ray Chandler_, Aug 26 2015 *)
%Y Cf. A106252.
%Y Cf. A083039. [From _R. J. Mathar_, Aug 24 2008]
%K nonn
%O 1,1
%A _John W. Layman_, Apr 27 2005
|