Problem 83. Prime factor digits
Solution Stats
Problem Comments

2 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 inbuilt function factors() was pretty helpful for this problem :)
Solution Comments

1 Comment
nice problem

1 Comment
Nice!

1 Comment
I've been trying to submit an answer to this for over three hours. Other problems work fine, but this one keeps saying the server is offline.

1 Comment
I do not understand how this code passes the test.

1 Comment
How this is a solution

2 Comments
tabulate code is not working. I got the correct results but I am getting error "Undefined function 'tabulate' for input arguments of type 'double"
Tabulate could probably be made to work here, but I recall that Cody does not allow toolbox functions, and tabulate lives in the stats toolbox. I'd guess the logic is that not everyone has all toolboxes, so a solution that uses some tool that others cannot use would not be fair to those others.

1 Comment
Definitely used a bit of a work around in this one. Sorry for that!

1 Comment
great problem...

1 Comment
can't believe 'deblank' can be used in this way
Problem Recent Solvers1250
Suggested Problems

1071 Solvers

Get the area codes from a list of phone numbers
693 Solvers

given 3 sides, find area of this triangle
720 Solvers

238 Solvers

Circular Primes (based on Project Euler, problem 35)
258 Solvers
More from this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!