login
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