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



Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A281298 a(n) is the n-th decimal digit from the right in n^n. 1


%S 1,0,0,0,0,0,0,1,3,0,8,9,2,1,8,6,4,4,9,0,0,7,9,8,0,0,0,3,1,0,5,1,8,1,

%T 5,7,8,2,4,0,4,1,8,7,4,0,3,8,1,0,6,1,3,8,3,4,9,3,3,0,1,1,9,6,8,2,1,6,

%U 5,0,8,6,8,5,0,7,1,1,2,0,3,8,3,3,3,8,2,5,3,0,4,1,0,6,3,5,3,2,7,0

%N a(n) is the n-th decimal digit from the right in n^n.

%C If 2 <= n <= 7, n^n has fewer than n digits, so a(n) is taken to be 0.

%C a(n) = 0 if n is divisible by 10.

%H Robert Israel, <a href="/A281298/b281298.txt">Table of n, a(n) for n = 1..10000</a>

%e 8^8 = 16777216 so a(8) = 1.

%p seq(10^(1-m)*((m &^m mod 10^m) - (m &^ m mod 10^(m-1))), m=1..1000);

%Y Cf. A000312.

%K nonn,base

%O 1,9

%A _Robert Israel_, Jan 19 2017

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 January 18 02:38 EST 2021. Contains 340249 sequences. (Running on oeis4.)