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 Solvers1937
Determine whether a vector is monotonically increasing
Find perfect placement of non-rotating dominoes (easier)
Number of Even Elements in Fibonacci Sequence
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!