login
Period 5: 1, 1, 3, 7, 3.
0

%I #25 Feb 27 2024 03:01:31

%S 1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,

%T 3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,

%U 7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3,1,1,3,7,3

%N Period 5: 1, 1, 3, 7, 3.

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

%F a(n) = n^2 - n + 1 (mod 10). - _Arkadiusz Wesolowski_, Jul 02 2012

%F G.f.: (1 + x + 3*x^2 + 7*x^3 + 3*x^4)/(1 - x^5). - _Arkadiusz Wesolowski_, Jul 03 2012

%t Flatten@Table[{1, 1, 3, 7, 3}, {16}] (* _Arkadiusz Wesolowski_, Jul 02 2012 *)

%K nonn,easy

%O 0,3

%A _Paul Curtz_, Oct 27 2007