login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A078196
The n-th digit from the left (most significant digit) of n^n.
1
6, 9, 0, 1, 5, 2, 8, 9, 5, 6, 5, 9, 0, 8, 6, 5, 8, 3, 2, 0, 5, 7, 0, 5, 2, 4, 5, 3, 3, 4, 1, 0, 0, 8, 7, 6, 8, 1, 4, 3, 7, 7, 0, 7, 9, 0, 7, 0, 3, 9, 6, 3, 0, 9, 5, 3, 0, 7, 6, 8, 1, 3, 0, 0, 8, 8, 2, 2, 0, 0, 3, 3, 0, 4, 4, 3, 7, 8, 1, 6, 6, 7, 0, 8, 4, 4, 1, 1, 5, 3, 6, 2, 0, 8, 4, 5, 0, 5, 0, 7, 9, 9, 4, 3, 2
OFFSET
8,1
LINKS
EXAMPLE
a(15) = 9, 15^15 = 437893890380859375 and starting from 4 (the MSD) 9 is the 15th digit.
MAPLE
f:= n -> convert(n^n, base, 10)[-n]:
map(f, [$8..200]); # Robert Israel, Feb 11 2017
MATHEMATICA
Flatten[Table[Take[IntegerDigits[n^n], {n}], {n, 8, 150}]] (* Harvey P. Dale, May 01 2011 *)
CROSSREFS
Cf. A023957.
Sequence in context: A373702 A331480 A196762 * A198118 A195102 A020792
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 21 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 07 2003
STATUS
approved