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”).

Last digit of A145923(n).
0

%I #25 Mar 02 2024 01:28:23

%S 9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,

%T 3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,

%U 5,3,9,3,5,5,3,9,3,5,5,3,9,3,5,5,3

%N Last digit of A145923(n).

%C The numbers also populate the 5th row of A107449.

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

%F a(n) = A145923(n) mod 10.

%F Period length 5: a(n+5) = a(n).

%F G.f.: (9+3x+5x^2+5x^3+3x^4)/((1-x)(1+x+x^2+x^3+x^4)). - _R. J. Mathar_, Dec 08 2008

%t PadRight[{},100,{9,3,5,5,3}] (* _Harvey P. Dale_, Jul 05 2012 *)

%o (PARI) a(n)=[9,3,5,5,3][n%5+1]; \\ _Jinyuan Wang_, Mar 23 2020

%Y Cf. A010879 (last digit), A145923.

%K nonn,base,less

%O 0,1

%A _Paul Curtz_, Oct 25 2008

%E Edited by _R. J. Mathar_, Dec 08 2008