Problem 83. Prime factor digits
I think the explanation in the problem statement is a bit sparse. The numbers in the table do not represent prime numbers per se: they represent indices on prime numbers, whose ultimate product yields the value n.
The in-built function factors() was pretty helpful for this problem :)
I'm sure Test 4 & 6 are incorrect!
@Peter, what makes you think so?
I was wrong! My thinking was wrong!
Solution CommentsShow comments
Problem Recent Solvers1939
Project Euler: Problem 8, Find largest product in a large string of numbers
Remove the two elements next to NaN value
Replace multiples of 5 with NaN
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!