Problem 83. Prime factor digits
Solution Stats
Problem Comments
-
5 Comments
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.
See http://mathworld.wolfram.com/PrimeFactorization.html
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?
@Dyuman Joshi,
I was wrong! My thinking was wrong!
Solution Comments
Show commentsProblem Recent Solvers2261
Suggested Problems
-
Numbers with prime factors 2, 3 and 5.
468 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
637 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
683 Solvers
-
5056 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
939 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!