in reply to Re: Simple Math Puzzle...(no code required?)in thread Simple Math Puzzle...
I like the way how you showed to get the correct solutions; however, 70842 should be counted a solution as well -- it has two prime digits (2 and 7).