login
Period 10: repeat 1, 2, 3, 6, 5, 0, 7, 4, 9, 8 .
0

%I #11 Dec 12 2023 08:43:13

%S 1,2,3,6,5,0,7,4,9,8,1,2,3,6,5,0,7,4,9,8,1,2,3,6,5,0,7,4,9,8,1,2,3,6,

%T 5,0,7,4,9,8,1,2,3,6,5,0,7,4,9,8,1,2,3,6,5,0,7,4,9,8,1,2,3,6,5,0,7,4,

%U 9,8,1,2,3,6,5,0,7,4,9,8

%N Period 10: repeat 1, 2, 3, 6, 5, 0, 7, 4, 9, 8 .

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

%t PadRight[{},120,{1,2,3,6,5,0,7,4,9,8}] (* _Harvey P. Dale_, Aug 20 2012 *)

%o (PARI) a(n)=[1, 2, 3, 6, 5, 0, 7, 4, 9, 8][n%10+1] \\ _Charles R Greathouse IV_, Jul 13 2016

%K nonn,easy

%O 0,2

%A _Paul Curtz_, Mar 24 2008