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.

A337054 Numbers that have at least 3 different representations as the product of a number and of its decimal digits.

Original entry on oeis.org

0, 549504, 1798848, 4193856, 4804128, 5827584, 7426944, 14397696, 34324992, 39401250, 39611040, 42856128, 45312750, 62593440, 81575424, 86171040, 92348928, 140184576, 151600896, 196475328, 221695488, 251584704, 263680704, 271165104, 287945280, 475388928, 499654656
Offset: 1

Views

Author

Chai Wah Wu, Aug 12 2020

Keywords

Comments

Subsequence of A336944. a(2) and a(43) both have 4 representations. The term 1461825635235840 = 696266592*(6*9*6*2*6*6*5*9*2) = 72511192224*(7*2*5*1*1*1*9*2*2*2*4) = 5371199424*(5*3*7*1*1*9*9*4*2*4) = 7161599232*(7*1*6*1*5*9*9*2*3*2) = 1193599872*(1*1*9*3*5*9*9*8*7*2) has 5 representations.

Examples

			a(43) = 1578092544 = 342468*(3*4*2*4*6*8) = 913248*(9*1*3*2*4*8) = 97848*(9*7*8*4*8) = 86976*(8*6*9*7*6).
		

Crossrefs

A337100 Numbers that have at least 4 different representations as the product of a number and of its decimal digits.

Original entry on oeis.org

0, 549504, 1578092544, 12276847296, 28961412480, 35998381440, 87012926784, 118082893824, 259456659840, 335449175040, 397315715328, 579305502720, 672777778176, 712539265536, 741360356352, 863562591360, 1138944651264, 1264664088576, 1276070713344, 1300488037632
Offset: 1

Views

Author

Chai Wah Wu, Aug 15 2020

Keywords

Comments

Subsequence of A337054. a(61) = 20150684596224 is the smallest positive number with 5 representations. Other terms with 5 representations include 242374224347136, 1461825635235840, 1761950567301120, 3194185120277760, 3415710732779520.

Examples

			a(3) = 12276847296 = 676634*(6*7*6*6*3*4) = 773296*(7*7*3*2*9*6) = 2368219*(2*3*6*8*2*1*9) = 12179412*(1*2*1*7*9*4*1*2).
		

Crossrefs

A337732 Least positive number that has exactly n different representations as the sum of a number and the product of its decimal digits.

Original entry on oeis.org

1, 0, 10, 50, 150, 1014, 9450, 8305, 283055, 931395, 92441055, 84305555, 28322235955
Offset: 0

Views

Author

Bernard Schott, Sep 18 2020

Keywords

Comments

Least integer m such that A230103(m) = n.

Examples

			10 = 5 + 5 = 10 + 1*0 and as 10 is the smallest number with 2 such representations, so, a(2) = 10.
50 = 35 + 3*5 = 42 * 4*2 = 50 + 5*0 and as 50 is the smallest number with 3 such representations, so, a(3) = 50.
		

Crossrefs

Cf. A337051 (similar for Bogotá numbers).

Programs

  • Mathematica
    f[n_] := n + Times @@ IntegerDigits[n]; m = 10^6; v = Table[0, {m}]; Do[i = f[n] + 1; If[i <= m, v[[i]]++], {n, 0, m}]; s = {1}; k = 1; While[(p = Position[v, k]) != {}, AppendTo[s, p[[1, 1]] - 1]; k++]; s (* Amiram Eldar, Sep 18 2020 *)
  • PARI
    f(n) = if (n==0, return(1)); sum(k=1, n, k+vecprod(digits(k)) == n); \\ A230103
    a(n) = my(k=0); while(f(k) !=n, k++); k; \\ Michel Marcus, Sep 18 2020

Extensions

a(4)-a(7) from Michel Marcus, Sep 18 2020
a(8)-a(11) from Amiram Eldar, Sep 18 2020
a(12) from Bert Dobbelaere, Sep 22 2020

A337817 Smallest nonnegative number that has exactly n different representations as the product of a number and the sum of its decimal digits.

Original entry on oeis.org

2, 0, 36, 900, 138600, 25336080, 3732276240, 240277237200
Offset: 0

Views

Author

Bernard Schott, Sep 23 2020

Keywords

Comments

With "positive" instead "nonnegative", a(1) would be equal to 1, and other terms would not change.
a(8) <= 425616965373600. - Giovanni Resta, Oct 13 2022

Examples

			2 is the smallest number that is not possible to write as (m * sum of digits of m) for some m, hence a(0) = 2.
0 = 0 * 0, hence a(1) = 0
36 = 6 * 6 = 12 * (1+2) and 36 is the smallest number with 2 such representations, hence a(2) = 36.
		

Crossrefs

Cf. A337051 (similar for Bogotá numbers), A337732.

Programs

  • Mathematica
    f[n_] := n*Plus @@ IntegerDigits[n]; m = 2*10^5; v = Table[0, {m}]; Do[i = f[n] + 1; If[i <= m, v[[i]]++], {n, 0, m}]; s = {}; k = 0; While[(p = Position[v, k]) != {}, AppendTo[s, p[[1, 1]] - 1]; k++]; s (* Amiram Eldar, Sep 23 2020 *)
  • PARI
    a(n)={if(n==1, 0, for(k=1, oo, if(sumdiv(k, d, d*sumdigits(d)==k) == n, return(k))))} \\ Andrew Howroyd, Sep 23 2020

Extensions

a(3)-a(5) from Amiram Eldar, Sep 23 2020
a(6)-a(7) from Bert Dobbelaere, Sep 27 2020, matching upper bounds from David A. Corneth
Showing 1-4 of 4 results.