|
|
A145924
|
|
Last digit of A145923(n).
|
|
0
|
|
|
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, 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, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
The numbers also populate the 5th row of A107449.
|
|
LINKS
|
|
|
FORMULA
|
Period length 5: a(n+5) = a(n).
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
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) a(n)=[9, 3, 5, 5, 3][n%5+1]; \\ Jinyuan Wang, Mar 23 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|