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

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