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!)
A214877 a(n) = n ^ (last digit of n). 1
1, 1, 4, 27, 256, 3125, 46656, 823543, 16777216, 387420489, 1, 11, 144, 2197, 38416, 759375, 16777216, 410338673, 11019960576, 322687697779, 1, 21, 484, 12167, 331776, 9765625, 308915776, 10460353203, 377801998336, 14507145975869, 1, 31, 1024, 35937, 1336336 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
For n<=20, a(n) = A067041(n).
LINKS
FORMULA
a(n) = n^A010879(n). - Michel Marcus, Aug 15 2023
EXAMPLE
a(13) = 13^3 = 2197.
MATHEMATICA
Join[{1}, Table[n^Mod[n, 10], {n, 40}]] (* Harvey P. Dale, Dec 21 2020 *)
PROG
(Python)
for n in range(44):
print n ** (n%10),
(PARI) a(n) = n^(n % 10); \\ Michel Marcus, Aug 15 2023
CROSSREFS
Cf. A010879, A063462, A067041. Different from A000312!
Sequence in context: A061510 A045512 A055207 * A067041 A070691 A070834
KEYWORD
nonn,base,easy
AUTHOR
Alex Ratushnyak, Jul 29 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 22:56 EDT 2024. Contains 370952 sequences. (Running on oeis4.)