login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Period 9: repeat 1,7,4,7,4,7,1,1,1.
0

%I #17 Mar 02 2024 01:27:35

%S 1,7,4,7,4,7,1,1,1,1,7,4,7,4,7,1,1,1,1,7,4,7,4,7,1,1,1,1,7,4,7,4,7,1,

%T 1,1,1,7,4,7,4,7,1,1,1,1,7,4,7,4,7,1,1,1,1,7,4,7,4,7,1,1,1,1,7,4,7,4,

%U 7,1,1,1

%N Period 9: repeat 1,7,4,7,4,7,1,1,1.

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

%t PadRight[{},120,{1,7,4,7,4,7,1,1,1}] (* _Harvey P. Dale_, Sep 14 2019 *)

%o (PARI) a(n)=[1,7,4,7,4,7,1,1,1][n%9+1] \\ _Charles R Greathouse IV_, Jul 13 2016

%Y Cf. A046163.

%K nonn,easy

%O 0,2

%A _Paul Curtz_, Dec 20 2008

%E Edited by _N. J. A. Sloane_, Dec 25 2008