login
Period 9: repeat [5, 4, 5, 3, 4, 3, 5, 4, 5].
2

%I #21 Dec 12 2023 09:24:49

%S 5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,

%T 4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,

%U 3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4,5,3,4,3,5,4,5,5,4

%N Period 9: repeat [5, 4, 5, 3, 4, 3, 5, 4, 5].

%C Continued fraction expansion of +274627/108809+(113/108809)*sqrt(6833690) = 5.2387578233.... - _R. J. Mathar_, Mar 08 2012

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

%F O.g.f.: (1-x)/(9*(x^2+x+1))+2*(1+x^2-x^3-x^5)/(3*(x^6+x^3+1))-38/(9*(x-1)). - _R. J. Mathar_, Apr 17 2008

%p A131291 := proc(n) op((n mod 9)+1,[5,4,5,3,4,3,5,4,5]) ; end: seq(A131291(n),n=0..100) ; # _R. J. Mathar_, Feb 27 2008

%t PadRight[{},120,{5,4,5,3,4,3,5,4,5}] (* _Harvey P. Dale_, May 06 2015 *)

%Y Cf. A122219.

%K nonn,easy

%O 0,1

%A _Paul Curtz_, Sep 29 2007

%E More terms from _R. J. Mathar_, Feb 27 2008

%E Typo in definition corrected by Herman Jamke (hermanjamke(AT)fastmail.fm), Mar 22 2008