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”).

A138029
Main diagonal of A138028; the most significant digit of n^(n-1).
4
1, 2, 9, 6, 6, 7, 1, 2, 4, 1, 2, 7, 2, 7, 2, 1, 4, 2, 1, 5, 2, 1, 9, 5, 3, 2, 1, 1, 8, 6, 5, 4, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 6, 8, 1, 1, 1, 2, 3, 4, 6, 9, 1, 2, 3, 5, 8, 1, 2, 3, 6, 1, 1, 3, 5, 1, 2, 3, 7, 1, 2, 5, 1, 2, 4, 1, 2, 4, 1, 2, 5, 1, 2, 6, 1, 3, 8, 2, 5, 1, 3, 8, 2, 5, 1, 3, 1, 2, 7, 2, 5, 1
OFFSET
1,2
LINKS
MAPLE
f:= n -> floor(10^frac((n-1)*log[10](n))):
map(f, [$1..200]); # Robert Israel, Jan 15 2019
MATHEMATICA
f[n_, k_] := Quotient[n^k, 10^Floor[k*Log[10, n]]]; Table[ f[ n, n - 1], {n, 105}]
CROSSREFS
Sequence in context: A010598 A152564 A318523 * A146481 A233766 A021341
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Feb 10 2008
EXTENSIONS
Name corrected by Robert Israel, Jan 15 2019
STATUS
approved