login
A171654
Period 10: repeat 0, 1, 6, 7, 2, 3, 8, 9, 4, 5.
2
0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5, 0, 1, 6, 7, 2, 3, 8, 9, 4, 5
OFFSET
0,3
COMMENTS
The repeating part contains all ten digits.
FORMULA
a(n) = A171507(n+1) mod 10.
a(2n) = A059629(n) mod 10; a(2n+1) = A139788(n).
abs(a(n+1)-a(n)) = A010686(n).
G.f.: -x*(1 + 6*x + 7*x^2 + 2*x^3 + 3*x^4 + 8*x^5 + 9*x^6 + 4*x^7 + 5*x^8) / ( (x-1)*(1+x)*(x^4 + x^3 + x^2 + x + 1)*(x^4 - x^3 + x^2 - x + 1) ). - R. J. Mathar, Jul 13 2011
CROSSREFS
Sequence in context: A021602 A198098 A021941 * A197916 A216103 A198823
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 14 2009
EXTENSIONS
More terms from Jinyuan Wang, Feb 26 2020
STATUS
approved