login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A185353 a(n) = (1^1 + 2^2 . . . + n^n) mod 10. 2
1, 5, 2, 8, 3, 9, 2, 8, 7, 7, 8, 4, 7, 3, 8, 4, 1, 5, 4, 4, 5, 9, 6, 2, 7, 3, 6, 2, 1, 1, 2, 8, 1, 7, 2, 8, 5, 9, 8, 8, 9, 3, 0, 6, 1, 7, 0, 6, 5, 5, 6, 2, 5, 1, 6, 2, 9, 3, 2, 2, 3, 7, 4, 0, 5, 1, 4, 0, 9, 9, 0, 6, 9, 5, 0, 6, 3, 7, 6, 6, 7, 1, 8, 4, 9, 5, 8, 4, 3, 3, 4, 0, 3, 9, 4, 0, 7, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The last digit of 1^1 + 2^2 +...+ n^n, which has period 100.

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..1000

MATHEMATICA

Mod[Accumulate[Table[n^n, {n, 200}]], 10] (* T. D. Noe, Jan 27 2012 *)

PROG

(PARI) a(n) = sum(k=1, n, k^k) % 10; \\ Michel Marcus, Jun 28 2017

CROSSREFS

Cf. A000312 (n^n), A001923 (1^1 + 2^2 +...+ n^n).

Sequence in context: A155975 A152956 A099873 * A168202 A153455 A193019

Adjacent sequences:  A185350 A185351 A185352 * A185354 A185355 A185356

KEYWORD

nonn

AUTHOR

Muhammed Hedayet, Jan 26 2012

EXTENSIONS

Extended by T. D. Noe, Jan 27 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 22 15:05 EST 2020. Contains 332137 sequences. (Running on oeis4.)