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.

A372925 Decimal expansion of Sum_{k >= 1} A210436(k)^2/2^k.

Original entry on oeis.org

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

Views

Author

Paolo Xausa, May 17 2024

Keywords

Examples

			5.2722033080449293622496850119293354421896362222877516553628...
		

Crossrefs

Programs

  • Mathematica
    First[RealDigits[Sum[IntegerLength[6^k]^2/2^k, {k, 350}], 10, 100]]

Formula

Approximately 196669/37303, correct to 88 digits: see Example 4.2 (c) in Borwein and Borwein (1992), pp. 634-635, although there is a typo in the denominator of the summands (6^k instead of 2^k).

A008567 Digits of powers of 6.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Irregular table with row length sequence A210436. - 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;
  6;
  3, 6;
  2, 1, 6;
  1, 2, 9, 6;
  7, 7, 7, 6;
  4, 6, 6, 5, 6;
  2, 7, 9, 9, 3, 6;
  1, 6, 7, 9, 6, 1, 6;
  1, 0, 0, 7, 7, 6, 9, 6;
  ...
		

Crossrefs

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

A210435 Number of digits in 5^n.

Original entry on oeis.org

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

Views

Author

Luc Comeau-Montasse, Mar 21 2012

Keywords

Examples

			a(4) = 3 because 5^4 = 625, which has 3 digits.
a(5) = 4 because 5^5 = 3125, which has 4 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).

Programs

  • Magma
    [#Intseq(5^n): n in [0..67]]; // Bruno Berselli, Mar 22 2012
    
  • Maple
    a:= n-> length(5^n): seq(a(n), n=0..100); # Alois P. Heinz, Mar 22 2012
  • Mathematica
    Table[Length[IntegerDigits[5^n]], {n, 0, 67}] (* Bruno Berselli, Mar 22 2012 *)
    IntegerLength[5^Range[0,70]] (* Harvey P. Dale, Mar 26 2013 *)
  • PARI
    a(n) = #Str(5^n); \\ Michel Marcus, Oct 27 2015

Formula

a(n) = A055642(A000351(n)) = A055642(5^n) = floor(log_10(10*(5^n))). [Jonathan Vos Post, Mar 22 2012]
a(n) + A034887(n) = n+1. - Michel Marcus, Oct 27 2015

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).
Showing 1-6 of 6 results.