login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008954 Final digit of triangular number n*(n+1)/2. 8
0, 1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0, 0, 1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0, 0, 1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0, 0, 1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0, 0, 1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

Index entries for sequences related to final digits of numbers

FORMULA

a(1) = 1, a(n+1) = (a(n) + n + 1) mod 10.

Periodic with period 20: repeat [0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0]. - Frank Adams-Watters (FrankTAW(AT)Netscape.net), Mar 13 2006

a(n) = n(n+1)/2 mod 10 [From Ant King, April 26 2009].

a(n) = a(n-5) - a(n-10) + a(n-15). G.f.: -(x^12+3*x^11+6*x^10+5*x^8+5*x^6+5*x^4+6*x^2+3*x+1)*x / ( (x-1)*(x^2+1)*(x^4+x^3+x^2+x+1)*(x^8-x^6+x^4-x^2+1) ). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 15 2010]

MATHEMATICA

Table[ Mod[ n*(n + 1)/2, 10 ], {n, 0, 80} ]

CROSSREFS

Cf. A000217, A061501.

Cf. A008953. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), May 12 2010]

Sequence in context: A113565 A178567 A038023 * A169890 A141703 A021739

Adjacent sequences:  A008951 A008952 A008953 * A008955 A008956 A008957

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.