cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

Original entry on oeis.org

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

Views

Author

Robert G. Wilson v, Feb 10 2008

Keywords

Crossrefs

Programs

  • 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}]

Extensions

Name corrected by Robert Israel, Jan 15 2019