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”).
%I #11 Dec 12 2023 09:00:44
%S 3,2,4,1,5,1,4,2,3,3,2,4,1,5,1,4,2,3,3,2,4,1,5,1,4,2,3,3,2,4,1,5,1,4,
%T 2,3,3,2,4,1,5,1,4,2,3,3,2,4,1,5,1,4,2,3,3,2,4,1,5,1,4,2,3,3,2,4,1,5,
%U 1,4,2,3,3,2,4,1,5,1,4,2,3
%N Period 9: repeat 3, 2, 4, 1, 5, 1, 4, 2, 3.
%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,{3,2,4,1,5,1,4,2,3}] (* _Harvey P. Dale_, May 16 2019 *)
%o (PARI) a(n)=[3, 2, 4, 1, 5, 1, 4, 2, 3][n%9+1] \\ _Charles R Greathouse IV_, Jul 13 2016
%K nonn,easy
%O 0,1
%A _Paul Curtz_, Jan 11 2008