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-4 of 4 results.

A130080 Smallest number whose sixth power has n digits.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 10, 15, 22, 32, 47, 69, 100, 147, 216, 317, 465, 682, 1000, 1468, 2155, 3163, 4642, 6813, 10000, 14678, 21545, 31623, 46416, 68130, 100000, 146780, 215444, 316228, 464159, 681293, 1000000, 1467800, 2154435, 3162278, 4641589
Offset: 1

Views

Author

Klaus Brockhaus, May 07 2007

Keywords

Comments

Powers of sixth root of 10 rounded up.

Examples

			6^6 = 46656 has five digits, 7^6 = 117649 has six digits, hence a(6) = 7.
		

Crossrefs

Cf. A011557 (powers of 10), A017936 (smallest number whose square has n digits), A018005 (smallest number whose cube has n digits), A018074 (smallest number whose fourth power has n digits), A018143 (smallest number whose fifth power has n digits), A130081 to A130084 (smallest number whose seventh ... tenth power has n digits).

Programs

  • Magma
    [ Ceiling(Root(10^(n-1),6)): n in [1..41] ];
    
  • Mathematica
    Table[(Ceiling[10^((n - 1)/6)]), {n, 1, 100}] (* Vincenzo Librandi, Sep 20 2013 *)
  • Python
    from sympy import integer_nthroot
    def A130080(n):
        a, b = integer_nthroot(10**(n-1),6)
        return a+(not b) # Chai Wah Wu, Jun 19 2024

Formula

a(n) = ceiling(10^((n-1)/6)).

A130083 Smallest number whose ninth power has at least n digits.

Original entry on oeis.org

1, 2, 2, 3, 3, 4, 5, 6, 8, 10, 13, 17, 22, 28, 36, 47, 60, 78, 100, 130, 167, 216, 279, 360, 465, 600, 775, 1000, 1292, 1669, 2155, 2783, 3594, 4642, 5995, 7743, 10000, 12916, 16682, 21545, 27826, 35939, 46416, 59949, 77427, 100000, 129155, 166811, 215444
Offset: 1

Views

Author

Klaus Brockhaus, May 07 2007

Keywords

Comments

Powers of ninth root of 10 rounded up.

Examples

			2^9 = 512 has three digits, 3^9 = 19683 has five digits, hence a(4) = a(5) = 3.
		

Crossrefs

Cf. A011278, A011557 (powers of 10), A017936 (smallest number whose square has n digits), A018005 (smallest number whose cube has n digits), A018074 (smallest number whose fourth power has n digits), A018143 (smallest number whose fifth power has n digits), A130080 to A130084 (smallest number whose sixth ... tenth power has n digits).

Programs

  • Magma
    [ Ceiling(Root(10^(n-1),9)): n in [1..49] ];
    
  • Mathematica
    Table[(Ceiling[10^((n - 1)/9)]), {n, 1, 60}] (* Vincenzo Librandi, Sep 21 2013 *)
  • Python
    from sympy import integer_nthroot
    def A130083(n): return (lambda x:x[0]+(not x[1]))(integer_nthroot(10**(n-1),9)) # Chai Wah Wu, Jun 20 2024

Formula

a(n) = ceiling(10^((n-1)/9)).

A130081 Smallest number whose seventh power has at least n digits.

Original entry on oeis.org

1, 2, 2, 3, 4, 6, 8, 10, 14, 20, 27, 38, 52, 72, 100, 139, 194, 269, 373, 518, 720, 1000, 1390, 1931, 2683, 3728, 5180, 7197, 10000, 13895, 19307, 26827, 37276, 51795, 71969, 100000, 138950, 193070, 268270, 372760, 517948, 719686, 1000000, 1389496
Offset: 1

Views

Author

Klaus Brockhaus, May 07 2007

Keywords

Comments

Powers of seventh root of 10 rounded up.

Examples

			1^7 = 1 has 1 digit, 2^7 = 128 has three digits, hence a(2) = a(3) = 2.
		

Crossrefs

Cf. A011276, A011557 (powers of 10), A017936 (smallest number whose square has n digits), A018005 (smallest number whose cube has n digits), A018074 (smallest number whose fourth power has n digits), A018143 (smallest number whose fifth power has n digits), A130080 to A130084 (smallest number whose sixth ... tenth power has n digits).

Programs

  • Magma
    [Ceiling(Root(10^(n-1),7)): n in [1..44]];
    
  • Mathematica
    Table[(Ceiling[10^((n - 1)/7)]), {n, 1, 60}] (* Vincenzo Librandi, Sep 20 2013 *)
  • Python
    from sympy import integer_nthroot
    def A130081(n): return (lambda x:x[0]+(not x[1]))(integer_nthroot(10**(n-1),7)) # Chai Wah Wu, Jun 20 2024

Formula

a(n) = ceiling(10^((n-1)/7)).

A130082 Smallest number whose eighth power has at least n digits.

Original entry on oeis.org

1, 2, 2, 3, 4, 5, 6, 8, 10, 14, 18, 24, 32, 43, 57, 75, 100, 134, 178, 238, 317, 422, 563, 750, 1000, 1334, 1779, 2372, 3163, 4217, 5624, 7499, 10000, 13336, 17783, 23714, 31623, 42170, 56235, 74990, 100000, 133353, 177828, 237138, 316228, 421697
Offset: 1

Views

Author

Klaus Brockhaus, May 07 2007

Keywords

Comments

Powers of eighth root of 10 rounded up.

Examples

			9^8 = 43046721 has eight digits, 10^8 = 100000000 has nine digits, hence a(9) = 10.
		

Crossrefs

Cf. A011277, A011557 (powers of 10), A017936 (smallest number whose square has n digits), A018005 (smallest number whose cube has n digits), A018074 (smallest number whose fourth power has n digits), A018143 (smallest number whose fifth power has n digits), A130080 to A130084 (smallest number whose sixth ... tenth power has n digits).

Programs

  • Magma
    [ Ceiling(Root(10^(n-1),8)): n in [1..46] ];
    
  • Mathematica
    Table[(Ceiling[10^((n - 1)/8)]), {n, 1, 60}] (* Vincenzo Librandi, Sep 20 2013 *)
  • Python
    from sympy import integer_nthroot
    def A130082(n): return (lambda x:x[0]+(not x[1]))(integer_nthroot(10**(n-1),8)) # Chai Wah Wu, Jun 20 2024

Formula

a(n) = ceiling(10^((n-1)/8)).
Showing 1-4 of 4 results.