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

A134848 Number of digits in A134847(n).

Original entry on oeis.org

4, 5, 6, 8, 9, 10, 11, 13, 14, 14, 17, 18, 19, 21, 21, 23, 24, 26, 27
Offset: 1

Views

Author

Artur Jasinski, Nov 13 2007

Keywords

Comments

a(26)=44

Crossrefs

Extensions

a(11)-a(15) from Lars Blomberg, Jun 25 2011

A134849 Number of nonzero digits in A134847(n).

Original entry on oeis.org

3, 3, 3, 4, 4, 4, 4, 5, 5, 4, 6, 6, 6, 7, 6, 7, 7, 8, 8
Offset: 1

Views

Author

Artur Jasinski, Nov 13 2007

Keywords

Crossrefs

Extensions

a(11)-a(15) from Lars Blomberg, Jun 25 2011
a(16)-a(19) (using A134847 bfile) from Michel Marcus, Aug 17 2020

A134846 Smallest number k containing no zero digit such that k^2 contains exactly n zeros.

Original entry on oeis.org

32, 245, 448, 3747, 24495, 62498, 248998, 2449552, 6393747, 6244998, 244949995, 498998998, 2449489753, 24498999998, 28284271249, 248997999998, 498998999999, 4989989999997, 24899979999998
Offset: 1

Views

Author

Artur Jasinski, Nov 13 2007

Keywords

Comments

The corresponding squares are in A134847.
Browkin (see link, p. 29) gives a number without zero digits whose square has 26 zeros: 4472135954999579392819^2 = 20000000000000000000005837591200400708766761. However, he does not claim that it is the smallest such number, so a(26) <= 4472135954999579392819.
Indeed, there are much smaller candidates for a(26), such as 489899998999999999. We also have a(20) <= 49899989999999 and a(21) <= 498998998999998. - Giovanni Resta, Jun 28 2019

Examples

			a(1) = 32 because 32 is the smallest number without zero digits whose square has exactly one zero: 1024.
		

Crossrefs

Extensions

Edited and a(11), a(12), a(13) added by Klaus Brockhaus, Nov 20 2007
a(14)-a(15) from Lars Blomberg, Jun 25 2011
a(16)-a(19) from Giovanni Resta, Jun 28 2019

A135215 Maximal number of zero digits in square of number with n digits and without zero digits.

Original entry on oeis.org

0, 1, 3, 4, 6, 7, 10, 10, 12, 13, 15
Offset: 1

Views

Author

Artur Jasinski, Nov 23 2007

Keywords

Crossrefs

Programs

  • Mathematica
    (*For a(7) *) mx = 0; Do[Do[Do[Do[Do[Do[Do[k = 10^6b + 10^5q + 10^4r + 10^3p + 10^2s + 10n + m; w = IntegerDigits[k^2]; ile = 0; Do[If[w[[t]] == 0, ile = ile + 1; If[ile > mx, mx = ile]], {t, 1, Length[w]}], {m, 1, 9}], {n, 1, 9}], {s, 1, 9}], {p, 1, 9}], {r, 1, 9}], {q, 1, 9}], {b, 1, 9}]; mx

Extensions

a(8)-a(11) from Lars Blomberg, Jun 26 2011

A135217 a(n) = smallest number with n+1 digits and without zero digits whose squares have the maximal number of zero digits = A135215(n+1).

Original entry on oeis.org

32, 448, 3747, 62498, 248998, 6244998, 31623251, 498998998, 2449489753, 28284271249
Offset: 2

Views

Author

Artur Jasinski, Nov 23 2007

Keywords

Crossrefs

Extensions

a(8)-a(11) from Lars Blomberg, Jun 26 2011

A135219 a(n) = largest number with n+1 digits and without zero digits whose squares have maximal number of zero digits = A135215(n+1).

Original entry on oeis.org

99, 949, 9798, 62498, 997998, 6244998
Offset: 2

Views

Author

Artur Jasinski, Nov 23 2007

Keywords

Crossrefs

A135216 a(n)= number of numbers with n+1 digits and without zero digits whose squares have maximal number of zero digits = A135215(n+1).

Original entry on oeis.org

18, 3, 13, 1, 7, 1
Offset: 1

Views

Author

Artur Jasinski, Nov 23 2007

Keywords

Examples

			a(1)=18 because we have 18 numbers with 2 digits and without zero digit whose square have maximal possible value 1 zero: 32, 33, 45, 47, 48, 49, 51, 52, 53, 55, 64, 71, 78, 84, 95, 97, 98, 99.
a(2)=3 because we have 3 numbers with 3 digits and without zero digit whose square have maximal possible value 3 zeros: 448, 548, 949.
a(3)=13 because we have 13 numbers with 4 digits and without zero digit whose square have maximal possible value 4 zeros: 3747, 3751, 4899, 6245, 6249, 6253, 7746, 7747, 7749, 7751, 7753, 9747, 9798.
a(4)=1 because we have only one number with 5 digits and without zero digit whose square have maximal possible value 6 zeros: 62498.
a(5)=7 because we have 7 numbers with 6 digits and without zero digit whose square have maximal possible value 7 zeros: 248998, 316245, 489898, 498999, 781249, 948951, 997998.
a(6)=1 because we have only one number with 7 digits and without zero digit whose square have maximal possible value 10 zeros: 6244998.
		

Crossrefs

Programs

  • Mathematica
    (*For a(7) *) c = 0; mx = 10; Do[Do[Do[Do[Do[Do[Do[k = 10^6b + 10^5q + 10^4r + 10^3p + 10^2s + 10n + m; w = IntegerDigits[k^2]; ile = 0; Do[If[w[[t]] == 0, ile = ile + 1], {t, 1, Length[w]}]; If[ile == mx, c = c + 1], {m, 1, 9}], {n, 1, 9}], {s, 1, 9}], {p, 1, 9}], {r, 1, 9}], {q, 1, 9}], {b, 1, 9}]; c (*Artur Jasinski*)

A135251 Maximal number of zero digits in square of number with n digits not divisible by 10.

Original entry on oeis.org

0, 1, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124
Offset: 1

Views

Author

Artur Jasinski, Nov 24 2007

Keywords

Crossrefs

Programs

  • Mathematica
    (*For a(7)*) mx = 0; Do[Do[Do[Do[Do[Do[Do[k = 10^6b + 10^5q + 10^4r + 10^3p + 10^2s + 10n + m; w = IntegerDigits[k^2]; ile = 0; Do[If[w[[t]] == 0, ile = ile + 1; If[ile > mx, mx = ile]], {t, 1, Length[w]}], {m, 1, 9}], {n, 0, 9}], {s, 0, 9}], {p, 0, 9}], {r, 0, 9}], {q, 0, 9}], {b, 1, 9}]; mx

Formula

2*n-4 <= a(n) <= 2*n-2 since, if k is an n-digit number not divisible by 10, then k^2 has at most 2*n digits of which the first and last are nonzero; and for n >= 2, the square of the n-digit number 10^(n-1)+1 contains 2*n-4 zeros. It seems likely that a(n) = 2*n-4 for all n >= 4. - Pontus von Brömssen, Jun 09 2025

Extensions

a(8)-a(64) from Pontus von Brömssen, Jun 09 2025

A135252 a(n) = number of numbers with n+1 digits and not divisible by 10 whose squares have maximal number of zero digits = A135251(n+1).

Original entry on oeis.org

18, 3, 24, 11, 10, 11
Offset: 1

Views

Author

Artur Jasinski, Nov 24 2007

Keywords

Examples

			a(1)=18 because we have 18 numbers with 2 digits not divisible by 10 whose squares have maximal possible number of zero digits, namely 1 zero: 32, 33, 45, 47, 48, 49, 51, 52, 53, 55, 64, 71, 78, 84, 95, 97, 98, 99
a(2)=3 because we have 3 numbers with 3 digits not divisible by 10 whose square have maximal possible number of zero digits, namely 3 zeros: 448, 548, 949
a(3)=24 because we have 24 numbers with 4 digits not divisible by 10 whose square have maximal possible number of zero digits, namely 4 zeros: 1001, 1002, 1003, 2001, 2002, 3001, 3747, 3751, 4001, 4899, 5001, 5002, 5003, 6245, 6249, 6253, 7746, 7747, 7749, 7751, 7753, 9503, 9747, 9798
a(4)=11 because we have 11 numbers with 5 digits not divisible by 10 whose square have maximal possible number of zero digits, namely 6 zeros: 10001, 10002, 10003, 20001, 20002, 30001, 40001, 50001, 50002, 50003, 62498
a(5)=10 because we have 10 numbers with 6 digits not divisible by 10 whose square have maximal possible number of zero digits, namely 8 zeros: 100001, 100002, 100003, 200001, 200002, 300001, 400001, 500001, 500002, 500003
a(6)=11 because we have 11 numbers with 7 digits not divisible by 10 whose square have maximal possible number of zero digits, namely 10 zeros: 1000001, 1000002, 1000003, 2000001, 2000002, 3000001, 4000001, 5000001, 5000002, 5000003, 6244998
		

Crossrefs

Programs

  • Mathematica
    (* For a(6) *) a = {}; c = 0; mx = 10; Do[Do[Do[Do[Do[Do[Do[k = 10^6b + 10^5q + 10^4r + 10^3p + 10^2s + 10n + m; w = IntegerDigits[k^2]; ile = 0; Do[If[w[[t]] == 0, ile = ile + 1], {t, 1, Length[w]}]; If[ile == mx, c = c + 1; AppendTo[a, k]], {m, 1, 9}], {n, 0, 9}], {s, 0, 9}], {p, 0, 9}], {r, 0, 9}], {q, 0, 9}], {b, 1, 9}]; c
Showing 1-9 of 9 results.