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.

A075048 10-smooth numbers that show their prime factors.

This page as a plain text file.
%I A075048 #18 Sep 15 2022 15:57:53
%S A075048 1,2,3,5,7,135,175,735,1715,13122,131712,2333772
%N A075048 10-smooth numbers that show their prime factors.
%C A075048 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.
%C A075048 No other terms below 10^13.
%C A075048 No more terms < 10^100. - _David Wasserman_, Jan 04 2005
%C A075048 No more terms < 10^238. - _Michael S. Branicky_, Jul 03 2022
%e A075048 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.
%o A075048 (Python)
%o A075048 from sympy import primefactors
%o A075048 def ok(n):
%o A075048     digset = set(map(int, str(n)))
%o A075048     if not digset <= {1, 2, 3, 5, 7}: return False
%o A075048     return set(primefactors(n)) == digset - {1}
%o A075048 print([k for k in range(10**7) if ok(k)]) # _Michael S. Branicky_, Jul 03 2022
%Y A075048 Cf. A002473, A052382, A067183, A357132.
%K A075048 base,fini,full,nonn
%O A075048 1,2
%A A075048 _Amarnath Murthy_, Sep 03 2002
%E A075048 Edited by _Don Reble_, Jun 07 2003
%E A075048 Offset 1 from _Alois P. Heinz_, Sep 15 2022