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.

Previous Showing 21-30 of 72 results. Next

A350185 Numbers of multiplicative persistence 6 which are themselves the product of digits of a number.

Original entry on oeis.org

27648, 47628, 64827, 84672, 134217728, 914838624, 1792336896, 3699376128, 48814981614, 134481277728, 147483721728, 1438916737499136
Offset: 1

Views

Author

Daniel Mondot, Jan 15 2022

Keywords

Comments

The multiplicative persistence of a number mp(n) is the number of times the product of digits function p(n) must be applied to reach a single digit, i.e., A031346(n).
The product of digits function partitions all numbers into equivalence classes. There is a one-to-one correspondence between values in this sequence and equivalence classes of numbers with multiplicative persistence 7.
There are infinitely many numbers with mp of 1 to 11, but the classes of numbers (p(n)) are postulated to be finite for sequences A350181....
Equivalently:
This sequence consists of the numbers A007954(k) such that A031346(k) = 7,
These are the numbers k in A002473 such that A031346(k) = 6,
Or:
- they factor into powers of 2, 3, 5 and 7 exclusively.
- p(n) goes to a single digit in 6 steps.
Postulated to be finite and complete.
a(13), if it exists, is > 10^20000, and likely > 10^80000.

Examples

			27648 is in sequence because:
- 27648 goes to a single digit in 6 steps: p(27648)=2688, p(2688)=768, p(768)=336, p(336)=54, p(54)=20, p(20)=0.
- p(338688) = p(168889) = 27648, etc.
		

Crossrefs

Cf. A002473, A003001 (smallest number with multiplicative persistence n), A031346 (multiplicative persistence), A031347 (multiplicative digital root), A046515 (all numbers with mp of 6).
Cf. A350180, A350181, A350182, A350183, A350184, A350186, A350187 (numbers with mp 1 to 5 and 7 to 10 that are themselves 7-smooth numbers).

Programs

  • Mathematica
    mx=10^16;lst=Sort@Flatten@Table[2^i*3^j*5^k*7^l,{i,0,Log[2,mx]},{j,0,Log[3,mx/2^i]},{k,0,Log[5,mx/(2^i*3^j)]},{l,0,Log[7,mx/(2^i*3^j*5^k)]}];
    Select[lst,Length@Most@NestWhileList[Times@@IntegerDigits@#&,#,#>9&]==6&] (* code for 7-smooth numbers from A002473. - Giorgos Kalogeropoulos, Jan 16 2022 *)
  • Python
    #this program may take 91 minutes to produce the first 8 members.
    from math import prod
    def hd(n):
        while (n&1) == 0:  n >>= 1
        while (n%3) == 0:  n /= 3
        while (n%5) == 0:  n /= 5
        while (n%7) == 0:  n /= 7
        return(n)
    def pd(n): return prod(map(int, str(n)))
    def ok(n):
        if hd(n) > 9: return False
        return (p := pd(n)) > 9 and (q := pd(p)) > 9 and (r := pd(q)) > 9 and (s := pd(r)) > 9 and (t := pd(s)) > 9 and pd(t) < 10
    print([k for k in range(10,3700000000) if ok(k)])

A350187 Numbers of multiplicative persistence 8 which are themselves the product of digits of a number.

Original entry on oeis.org

4478976, 784147392, 19421724672, 249143169618, 717233481216
Offset: 1

Views

Author

Daniel Mondot, Jan 30 2022

Keywords

Comments

The multiplicative persistence of a number mp(n) is the number of times the product of digits function p(n) must be applied to reach a single digit, i.e., A031346(n).
The product of digits function partitions all numbers into equivalence classes. There is a one-to-one correspondence between values in this sequence and equivalence classes of numbers with multiplicative persistence 9.
There are infinitely many numbers with mp of 1 to 11, but the classes of numbers (p(n)) are postulated to be finite for sequences A350181.
Equivalently:
This sequence consists of all numbers A007954(k) such that A031346(k) = 9.
They are the numbers k in A002473 such that A031346(k) = 8.
Or they factor into powers of 2, 3, 5 and 7 exclusively and p(n) goes to a single digit in 8 steps.
Postulated to be finite and complete.
a(6), if it exists, is > 10^20000, and likely > 10^171000.

Examples

			4478976 is in this sequence because:
- 4478976 goes to a single digit in 8 steps: 4478976 -> 338688 -> 27648 -> 2688 -> 768 -> 336 -> 54 -> 20 -> 0;
- p(438939648) = p(231928233984) = 4478976.
		

Crossrefs

Intersection of A002473 and A046517.
Cf. A003001 (smallest number with multiplicative persistence n), A031346 (multiplicative persistence), A031347 (multiplicative digital root), A046517 (all numbers with mp of 8).
Cf. A350180, A350181, A350182, A350183, A350184, A350185, A350186 (numbers with mp 1 to 7 and 9 to 10 that are themselves 7-smooth numbers).

A064871 The minimal number which has multiplicative persistence 7 in base n.

Original entry on oeis.org

1409794, 68889, 38200, 17902874277, 1494, 2532, 19526, 15838, 1101, 15820, 943, 2674, 2118, 3275, 412, 3310, 1593, 440, 478, 2036, 456, 713, 738, 633, 658, 705, 907, 643, 803, 641, 653, 797, 484, 991, 814, 877, 1079, 767, 840, 575, 930, 843, 710, 880
Offset: 9

Views

Author

Sascha Kurz, Oct 08 2001

Keywords

Comments

The persistence of a number is the number of times you need to multiply the digits together before reaching a single digit. a(7) = 686285, a(8) seems not to exist.

Examples

			a(9) = 1409794 because the persistence of 1409794 is 7.
		

Crossrefs

Formula

a(n) = 8*n-[n/5040] for n > 5039.

Extensions

Corrected by R. J. Mathar, Nov 02 2007

A350186 Numbers of multiplicative persistence 7 which are themselves the product of digits of a number.

Original entry on oeis.org

338688, 826686, 2239488, 3188646, 6613488, 14224896, 3416267673274176, 6499837226778624
Offset: 1

Views

Author

Daniel Mondot, Jan 15 2022

Keywords

Comments

The multiplicative persistence of a number mp(n) is the number of times the product of digits function p(n) must be applied to reach a single digit, i.e., A031346(n).
The product of digits function partitions all numbers into equivalence classes. There is a one-to-one correspondence between values in this sequence and equivalence classes of numbers with multiplicative persistence 8.
There are infinitely many numbers with mp of 1 to 11, but the classes of numbers (p(n)) are postulated to be finite for sequences A350181....
Equivalently:
This sequence consists of the numbers A007954(k) such that A031346(k) = 8,
These are the numbers k in A002473 such that A031346(k) = 7,
Or:
- they factor into powers of 2, 3, 5 and 7 exclusively.
- p(n) goes to a single digit in 7 steps.
Postulated to be finite and complete.
a(9), if it exists, is > 10^20000, and likely > 10^119000.

Examples

			338688 is in this sequence because:
- 338688 goes to a single digit in 7 steps: p(338688) = 27648, p(27648) = 2688, p(2688)=768, p(768)=336, p(336)=54, p(54)=20, p(20)=0.
- p(4478976) = p(13477889) = 338688, etc.
		

Crossrefs

Cf. A002473, A003001 (smallest number with multiplicative persistence n), A031346 (multiplicative persistence), A031347 (multiplicative digital root), A046516 (all numbers with mp of 7).
Cf. A350180, A350181, A350182, A350183, A350184, A350185, A350187 (numbers with mp 1 to 6 and 8 to 10 that are themselves 7-smooth numbers).

Programs

  • Mathematica
    mx=10^16;lst=Sort@Flatten@Table[2^i*3^j*5^k*7^l,{i,0,Log[2,mx]},{j,0,Log[3,mx/2^i]},{k,0,Log[5,mx/(2^i*3^j)]},{l,0,Log[7,mx/(2^i*3^j*5^k)]}];
    Select[lst,Length@Most@NestWhileList[Times@@IntegerDigits@#&,#,#>9&]==7&]  (* code for 7-smooth numbers from A002473. - Giorgos Kalogeropoulos, Jan 16 2022 *)

A046511 Numbers with multiplicative persistence value 2.

Original entry on oeis.org

25, 26, 27, 28, 29, 34, 35, 36, 37, 38, 43, 44, 45, 46, 48, 52, 53, 54, 56, 58, 62, 63, 64, 65, 67, 72, 73, 76, 82, 83, 84, 85, 92, 99, 125, 126, 127, 128, 129, 134, 135, 136, 137, 138, 143, 144, 145, 146, 148, 152, 153, 154, 156, 158, 162, 163, 164, 165, 167, 172
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			129 -> [ 18 ] -> [ 8 ] = one digit in two steps.
		

Crossrefs

Programs

  • Mathematica
    mpQ[n_]:=Length[NestWhileList[Times@@IntegerDigits[#]&,n,#>9&]]==3; Select[Range[200], mpQ] (* Harvey P. Dale, Apr 12 2014 *)
  • Python
    from math import prod
    def pd(n): return prod(map(int, str(n)))
    def ok(n): return n > 9 and (p := pd(n)) > 9 and pd(p) < 10
    print([k for k in range(173) if ok(k)]) # Michael S. Branicky, Jan 16 2022

A046518 Numbers with multiplicative persistence value 9.

Original entry on oeis.org

26888999, 26889899, 26889989, 26889998, 26898899, 26898989, 26898998, 26899889, 26899898, 26899988, 26988899, 26988989, 26988998, 26989889, 26989898, 26989988, 26998889, 26998898, 26998988, 26999888, 28688999
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			26888999 -> [ 4478976 ][ 338688 ][ 27648 ][ 2688 ][ 768 ][ 336 ][ 54 ][ 20 ][ 0 ] -> one digit in nine steps.
		

Crossrefs

Programs

  • Maple
    mp:= proc(n) option remember;
        if n <= 9 then return 0 fi;
        1+procname(convert(convert(n,base,10),`*`))
    end proc:
    filter:= proc(n)
      evalb(mp(convert(convert(n,base,10),`*`))=8)
    end proc:
    select(filter, [$26111111..29999999]); # Robert Israel, Feb 12 2019

Extensions

Offset corrected by Robert Israel, Feb 12 2019

A014553 Maximal multiplicative persistence (or length) of any n-digit number.

Original entry on oeis.org

1, 4, 5, 6, 7, 7, 8, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11
Offset: 1

Views

Author

Keywords

Comments

The "persistence" or "length" of an N-digit decimal number is the number of times one must iteratively form the product of its digits until one obtains a one-digit product (For another definition see A003001.)
For all other n<2530, a(n)=11 because sequence is nondecreasing and a number with multiplicative persistence 12 must have more than 2530 digits. - Sascha Kurz, Mar 24 2002

Examples

			168889 is not in A003001 because a(6) = a(5) = 7.
		

References

  • Gottlieb, A. J. Problems 28-29 in "Bridge, Group Theory and a Jigsaw Puzzle." Techn. Rev. 72, unpaginated, Dec. 1969.
  • Gottlieb, A. J. Problem 29 in "Integral Solutions, Ladders and Pentagons." Techn. Rev. 72, unpaginated, Apr. 1970.

Crossrefs

Extensions

Corrected by N. J. A. Sloane, Nov 1995
More terms from John W. Layman, Mar 19 2002

A045646 Alternative version of A006050.

Original entry on oeis.org

1, 10, 19, 199, 19999999999999999999999
Offset: 0

Views

Author

Keywords

Comments

This is also the smallest n such that digit sum of n = previous term. - Dominick Cancilla, Aug 09 2010

References

  • H. J. Hindin, The additive persistence of a number, J. Rec. Math., 7 (No. 2, 1974), 134-135.

Crossrefs

Programs

  • Mathematica
    Join[{1},NestList[2*10^((#-1)/9)-1&,10,3]] (* Harvey P. Dale, Sep 20 2011 *)

Formula

For n > 1, a(n) = 2*10^((a(n-1)-1)/9) - 1.

Extensions

Next term is 1 followed by 2222222222222222222222 9s.

A046512 Numbers with multiplicative persistence value 3.

Original entry on oeis.org

39, 47, 49, 55, 57, 59, 66, 68, 69, 74, 75, 78, 79, 86, 87, 88, 89, 93, 94, 95, 96, 97, 98, 139, 147, 149, 155, 157, 159, 166, 168, 169, 174, 175, 178, 179, 186, 187, 188, 189, 193, 194, 195, 196, 197, 198, 227, 229, 236, 238, 239, 246, 247, 248, 249, 263, 264
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			239 -> [ 54 ][ 20 ][ 0 ] -> one digit in three steps.
		

Crossrefs

Programs

  • Maple
    mp:= proc(n) option remember;
        if n <= 9 then return 0 fi;
        1+procname(convert(convert(n,base,10),`*`))
    end proc:
    select(mp=3, [$1..1000]); # Robert Israel, Feb 12 2019
  • Mathematica
    mp3Q[n_]:=Length[NestWhileList[Times@@IntegerDigits[#]&,n,#>9&]]==4; Select[Range[300],mp3Q] (* Harvey P. Dale, May 23 2015 *)

Extensions

Offset corrected by Robert Israel, Feb 12 2019

A046513 Numbers with multiplicative persistence value 4.

Original entry on oeis.org

77, 177, 268, 277, 286, 348, 355, 377, 378, 379, 384, 387, 397, 438, 446, 464, 467, 476, 477, 483, 489, 498, 535, 553, 557, 575, 628, 644, 647, 668, 674, 677, 678, 682, 686, 687, 699, 717, 727, 737, 738, 739, 746, 747, 755, 764, 767, 768, 771, 772, 773
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1998

Keywords

Examples

			737 -> [ 147 ][ 28 ][ 16 ][ 6 ] -> one digit in four steps.
		

Crossrefs

Programs

  • Maple
    mp:= proc(n) option remember;
        if n <= 9 then return 0 fi;
        1+procname(convert(convert(n,base,10),`*`))
    end proc:
    select(mp=4, [$1..1000]); # Robert Israel, Feb 12 2019
  • Mathematica
    pr4Q[n_] := Length[NestWhileList[Times @@ IntegerDigits[#] &, n, # > 9 &]] == 5; Select[Range[773], pr4Q] (* Jayanta Basu, Jun 26 2013 *)

Extensions

Offset corrected by Robert Israel, Feb 12 2019
Previous Showing 21-30 of 72 results. Next