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.

A239683 Number of digits in decimal expansion of n^5.

Original entry on oeis.org

1, 1, 2, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10
Offset: 0

Views

Author

Lorianne Kwak, Mar 24 2014

Keywords

Examples

			a(1) = 1 because 1^5 = 1, which has only 1 digit.
a(5) = 4 because 5^5 = 3125, which has 4 digits.
		

Crossrefs

Cf. A000584.

Programs

  • Mathematica
    Join[{1},IntegerLength[Range[80]^5]] (* Harvey P. Dale, Jan 31 2025 *)
  • PARI
    vector(110,n,#digits(n^5)) \\ Joerg Arndt, Mar 24 2014

Formula

a(n) = A055642(n^5).
a(n) = k log n + O(1) where k = 2.1714... = 5/log 10. - Charles R Greathouse IV, Apr 01 2014