login
A106576
Period 20. Sequence gives last digit of A106157, starting from the first positive term.
0
1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8, 1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8, 1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8, 1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8, 1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8, 1, 2, 1, 2, 3
OFFSET
0,2
LINKS
FORMULA
G.f.: A/B with A = (1 +2*x +3*x^4 +4*x^13 +5*x^8 +6*x^5 +7*x^12 +8*x^17 +9*x^16) and B = (1-x)*(1+x)*(1 -x +x^2 -x^3 +x^4)*(1 +x +x^2 +x^3 +x^4)*(1 -x^2 +x^4 -x^6 +x^8).
MATHEMATICA
PadRight[{}, 120, {1, 2, 1, 2, 3, 6, 3, 6, 5, 0, 5, 0, 7, 4, 7, 4, 9, 8, 9, 8}] (* Harvey P. Dale, Apr 21 2019 *)
CROSSREFS
Sequence in context: A156693 A156564 A198123 * A301336 A128474 A108618
KEYWORD
easy,nonn,base
AUTHOR
Creighton Dement, May 09 2005
STATUS
approved