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

A130686
Absolute difference of final digits of two consecutive triangular numbers.
1
1, 2, 3, 6, 5, 4, 7, 2, 1, 0, 1, 2, 7, 4, 5, 6, 3, 2, 1, 0, 1, 2, 3, 6, 5, 4, 7, 2, 1, 0, 1, 2, 7, 4, 5, 6, 3, 2, 1, 0, 1, 2, 3, 6, 5, 4, 7, 2, 1, 0, 1, 2, 7, 4, 5, 6, 3, 2, 1, 0, 1, 2, 3, 6, 5, 4, 7, 2, 1, 0, 1, 2, 7, 4, 5, 6, 3, 2, 1, 0, 1, 2, 3, 6, 5, 4, 7, 2, 1, 0, 1, 2, 7, 4, 5, 6, 3, 2, 1, 0, 1, 2, 3, 6, 5
OFFSET
1,2
COMMENTS
Periodic with period 20.
LINKS
FORMULA
a(n) = abs{ A010879[A000217(n+1)] - A010879[A000217(n)] }. - R. J. Mathar, Jul 15 2007
MAPLE
A000217 := proc(n) n*(n+1)/2 ; end: A010879 := proc(n) n mod 10 ; end: A130686 := proc(n) abs(A010879(A000217(n+1))-A010879(A000217(n))) ; end: seq(A130686(n), n=0..80) ; # R. J. Mathar, Jul 15 2007
CROSSREFS
Cf. A008954.
Sequence in context: A299207 A277330 A072298 * A213927 A222241 A056023
KEYWORD
base,easy,nonn
AUTHOR
Giovanni Teofilatto, Jun 30 2007
STATUS
approved