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!)
A138029 Main diagonal of A138028; the most significant digit of n^(n-1). 4

%I #6 Jan 15 2019 18:46:29

%S 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,

%T 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,

%U 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

%N Main diagonal of A138028; the most significant digit of n^(n-1).

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

%p f:= n -> floor(10^frac((n-1)*log[10](n))):

%p map(f, [$1..200]); # _Robert Israel_, Jan 15 2019

%t f[n_, k_] := Quotient[n^k, 10^Floor[k*Log[10, n]]]; Table[ f[ n, n - 1], {n, 105}]

%Y Cf. A061505, A138028.

%K base,nonn

%O 1,2

%A _Robert G. Wilson v_, Feb 10 2008

%E Name corrected by _Robert Israel_, Jan 15 2019

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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)