login
A075048
10-smooth numbers that show their prime factors.
2
1, 2, 3, 5, 7, 135, 175, 735, 1715, 13122, 131712, 2333772
OFFSET
1,2
COMMENTS
A number n is in the sequence if it has only noncomposite digits (1,2,3,5,7) and a prime p divides n if and only if p is a digit of n.
No other terms below 10^13.
No more terms < 10^100. - David Wasserman, Jan 04 2005
No more terms < 10^238. - Michael S. Branicky, Jul 03 2022
EXAMPLE
131712 is a member because 131712 = 2*2*2*2*2*2*2*3*7*7*7; the prime factors are digits and the digits are factors.
PROG
(Python)
from sympy import primefactors
def ok(n):
digset = set(map(int, str(n)))
if not digset <= {1, 2, 3, 5, 7}: return False
return set(primefactors(n)) == digset - {1}
print([k for k in range(10**7) if ok(k)]) # Michael S. Branicky, Jul 03 2022
CROSSREFS
KEYWORD
base,fini,full,nonn
AUTHOR
Amarnath Murthy, Sep 03 2002
EXTENSIONS
Edited by Don Reble, Jun 07 2003
Offset 1 from Alois P. Heinz, Sep 15 2022
STATUS
approved