Help with math related problem

Revision en1, by M.A.H.M.O.O.D, 2016-06-03 22:23:01

Hi codeforcer.

So let's cut right to the chase given N where 1<=N<=5000000 find the number of the prime factors the make up N.

e.g. 6=2*3 =>the answer for 6 is 2.

e.g. 12=2*2*3 =>the answer for 12 is 3.

I think it's called prime factorialzition or prime decomposition I'm not sure since my English with math vocabulary is worse than my coding skills.

Please keep it simple.

Thanks in advance.

Tags math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English M.A.H.M.O.O.D 2016-06-03 22:23:01 440 Initial revision (published)