Skip to main content
added 420 characters in body
Source Link

Jelly, 10 bytes

DŒPḌḟiⱮÆfẠ 

Try it online!

How it works

DŒPḌḟiⱮÆfẠ - Main link. Takes an integer n on the left D - Digits of n ŒP - Powerset of the digits Ḍ - Convert back to integers ḟ - Remove n from this list Æf - Yield the prime factors of n Ɱ - Over each prime factor: i - Index of the factor in the powerset, or 0 Ạ - All are true? 

Jelly, 10 bytes

DŒPḌḟiⱮÆfẠ 

Try it online!

Jelly, 10 bytes

DŒPḌḟiⱮÆfẠ 

Try it online!

How it works

DŒPḌḟiⱮÆfẠ - Main link. Takes an integer n on the left D - Digits of n ŒP - Powerset of the digits Ḍ - Convert back to integers ḟ - Remove n from this list Æf - Yield the prime factors of n Ɱ - Over each prime factor: i - Index of the factor in the powerset, or 0 Ạ - All are true? 
Source Link

Jelly, 10 bytes

DŒPḌḟiⱮÆfẠ 

Try it online!