Problem 60758. List composite numbers that do not contain their prime factors as substrings

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

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Nov 08, 2024

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author279

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!