The number 63 has the prime factorization 3, 3, and 7, and it contains one of them (3) as a substring. In contrast, the number 48 has unique prime factors of 2 and 3, and neither appears as a substring in 48.
Write a function that takes a number n and produces the nth term in this sequence. For example, 48 is the 16th term.

Solution Stats

10 Solutions

7 Solvers

Last Solution submitted on Jun 06, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...