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.

Showing 1-6 of 6 results.

A008566 Digits of powers of 5.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Irregular table with row length sequence A210435. - Jason Kimberley, Nov 26 2012
The constant whose decimal expansion is this sequence is irrational (Mahler, 1981). - Amiram Eldar, Mar 23 2025

Examples

			Triangle begins:
  1;
  5;
  2, 5;
  1, 2, 5;
  6, 2, 5;
  3, 1, 2, 5;
  1, 5, 6, 2, 5;
  7, 8, 1, 2, 5,
  3, 9, 0, 6, 2, 5;
  ...
		

Crossrefs

Programs

  • Mathematica
    Flatten[IntegerDigits/@(5^Range[0,20])] (* Harvey P. Dale, Jan 18 2012 *)

A210434 Number of digits in 4^n.

Original entry on oeis.org

1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, 18, 19, 19, 20, 20, 21, 22, 22, 23, 23, 24, 25, 25, 26, 26, 27, 28, 28, 29, 29, 30, 31, 31, 32, 32, 33, 34, 34, 35, 35, 36, 37, 37, 38, 38, 39, 40, 40, 41, 41
Offset: 0

Views

Author

Luc Comeau-Montasse, Mar 21 2012

Keywords

Comments

Since log10(4) = A114493 ~ 0.60205 (= twice log10(2) = 0.30102999566...), the first 98 terms are equal to floor(n*3/5)+1. - M. F. Hasler, Mar 31 2025

Examples

			a(4) = 3 because 4^4 = 256, which has 3 digits.
a(5) = 4 because 4^5 = 1024, which has 4 digits.
		

Crossrefs

Programs

  • Magma
    [#Intseq(4^n): n in [0..68]]; // Bruno Berselli, Mar 22 2012
    
  • Maple
    a:= n-> length(4^n): seq(a(n), n=0..100); # Alois P. Heinz, Mar 22 2012
  • Mathematica
    Table[Length[IntegerDigits[4^n]], {n, 0, 68}] (* Bruno Berselli, Mar 22 2012 *)
  • PARI
    apply( {A210434(n)=logint(4^n,10)+1}, [0..66]) \\ M. F. Hasler, Mar 31 2025
    
  • PARI
    a(n)=log(4)*n\log(10)+1 \\ correct up to n ~ 10^precision, with default precision = 38. - M. F. Hasler, Mar 31 2025
    
  • Python
    from math import log
    def A210434(n): return int(n*log(4,10))+1 if n<1e16 else "not enough precision" # M. F. Hasler, Mar 31 2025

Formula

a(n) = A055642(A000302(n)) = A055642(4^n) = floor(log_10(10*(4^n))). - Jonathan Vos Post, Mar 22 2012

A210436 Number of digits in 6^n.

Original entry on oeis.org

1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 35, 36, 36, 37, 38, 39, 39, 40, 41, 42, 43, 43, 44, 45, 46, 46, 47, 48, 49, 50, 50, 51, 52, 53
Offset: 0

Views

Author

Luc Comeau-Montasse, Mar 21 2012

Keywords

Examples

			a(4) = 4 because 6^4 = 1296, which has 4 digits.
a(5) = 4 because 6^5 = 7776, which has 4 digits.
		

Crossrefs

Programs

  • Magma
    [#Intseq(6^n): n in [0..67]]; // Bruno Berselli, Mar 22 2012
  • Maple
    a:= n-> length(6^n): seq (a(n), n=0..100); # Alois P. Heinz, Mar 22 2012
  • Mathematica
    Table[Length[IntegerDigits[6^n]], {n, 0, 99}] (* Alonso del Arte, Mar 22 2012 *)

Formula

a(n) = A055642(A000400(n)) = A055642(6^n) = floor(log_10(10*(6^n))). - Jonathan Vos Post, Mar 23 2012

A210062 Number of digits in 7^n.

Original entry on oeis.org

1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 21, 22, 22, 23, 24, 25, 26, 27, 28, 28, 29, 30, 31, 32, 33, 33, 34, 35, 36, 37, 38, 39, 39, 40, 41, 42, 43, 44, 44, 45, 46, 47, 48, 49, 50, 50, 51, 52, 53, 54, 55, 55, 56, 57
Offset: 0

Views

Author

Luc Comeau-Montasse, Mar 16 2012

Keywords

Crossrefs

Number of digits in b^n: A034887 (b=2), A034888 (b=3), A210434 (b=4), A210435 (b=5), A210436 (b=6), this sequence (b=7).

Programs

  • Magma
    [#Intseq(7^n): n in [0..67]]; // Bruno Berselli, Mar 22 2012
  • Mathematica
    Table[Length[IntegerDigits[7^n]], {n, 0, 100}] (* T. D. Noe, Mar 20 2012 *)

Formula

a(n) = A055642(A000420(n)) = A055642(7^n) = floor(log_10(10*(7^n))). [Jonathan Vos Post, Mar 23 2012]

A348553 Number of digits in 11^n.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75
Offset: 0

Views

Author

Seiichi Manyama, Oct 22 2021

Keywords

Examples

			a(24) = 25 because 11^24 = 9849732675807611094711841, which has 25 digits.
a(25) = 27 because 11^25 = 108347059433883722041830251, which has 27 digits.
		

Crossrefs

Number of digits in b^n: A034887 (b=2), A034888 (b=3), A210434 (b=4), A210435 (b=5), A210436 (b=6), A210062 (b=7), this sequence (b=11).

Programs

  • Mathematica
    a[n_] := IntegerLength[11^n]; Array[a, 100, 0] (* Amiram Eldar, Oct 22 2021 *)
  • PARI
    a(n) = #Str(11^n);
    
  • Python
    def a(n): return len(str(11**n))
    print([a(n) for n in range(98)]) # Michael S. Branicky, Oct 22 2021

Formula

a(n) = A055642(A001020(n)) = A055642(11^n).

A385951 Number of digits in 5^(n!).

Original entry on oeis.org

1, 1, 2, 5, 17, 84, 504, 3523, 28183, 253643, 2536423, 27900646, 334807751, 4352500756, 60935010579, 914025158672, 14624402538737, 248614843158529, 4475067176853513, 85026276360216746, 1700525527204334919, 35711036071291033288, 785642793568402732327
Offset: 0

Views

Author

Vincenzo Librandi, Jul 27 2025

Keywords

Crossrefs

Subsequence of A210435.

Programs

  • Mathematica
    Array[Floor[#! Log10@5+1]&,22]

Formula

a(n) = A055642(A220078(n)).
Showing 1-6 of 6 results.