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

 

Logo


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

0,3

COMMENTS

Periodic for n>3. Repeat: [6, 5, 6, 1, 6, 1, 0, 1, 6, 1]

LINKS

Table of n, a(n) for n=0..84.

Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,1).

FORMULA

G.f.: x*(8*x^12 - 2*x^11 - x^8 - 6*x^7 - x^6 - 6*x^5 - 5*x^4 - 6*x^3 - 9*x^2 - 4*x - 1)/(x^10 - 1). - Chai Wah Wu, Jun 04 2016

MATHEMATICA

Table[PowerMod[n, n!, 10], {n, 0, 84}]

CROSSREFS

Sequence in context: A201415 A094090 A200632 * A008959 A169917 A059729

Adjacent sequences:  A186720 A186721 A186722 * A186724 A186725 A186726

KEYWORD

nonn,easy

AUTHOR

José María Grau Ribas, Jan 21 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 02:07 EST 2018. Contains 299357 sequences. (Running on oeis4.)