login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A229522 Final digit (in decimal system) of (n^n)^n, i.e., (n^n)^n mod 10. 3
1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6, 7, 6, 9, 0, 1, 6, 3, 6, 5, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Periodic sequence with period 10.
LINKS
FORMULA
a(n) = A120962(A002489(n)). - Michel Marcus, Aug 09 2023
MATHEMATICA
Table[PowerMod[n^n, n, 10], {n, 200}]
PROG
(PARI) a(n)=n%=10; lift(Mod(n, 10)^n^n) \\ Charles R Greathouse IV, Dec 27 2013
(Python)
def A229522(n): return (0, 1, 6, 3, 6, 5, 6, 7, 6, 9)[n%10] # Chai Wah Wu, Aug 10 2023
CROSSREFS
Cf. A002489, A120962, A364789 (initial digit).
Sequence in context: A043296 A199186 A176715 * A227400 A137245 A060294
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)