+ 7
Challenge: Represent a number n as product of prime numbers.
Challenge: Represent a number n as product of prime numbers. Guys, n is an input number and we need to represent it in the form of product prime numbers. Print the input value is equal to the product of prime numbers Exemple: input n = 18 ==> 18 = 2*3*3 input n = 24 ==> 24= 2*2*2*3 input n = 17 ==> 17= 17*1 as 17 is a prime number input n = 258 ==> 258 = 2*3*43
8 Respostas
+ 3
my first try using python:
https://code.sololearn.com/cY6K3wm1oqgb/?ref=app
+ 13
Already made one, using JS :
https://code.sololearn.com/WL2DigIgt0j7/
+ 11
Me too, because of Dayve :)
https://code.sololearn.com/c52VNpNLYWOg/?ref=app
+ 10
+ 5
I made aprime factorisation code, which is essentially what yoy are doing.
But one problwm, I converted all the same prime factors into powers.
https://code.sololearn.com/cj5h05v8TAcU/?ref=app
Went to #5 in trending
+ 3
my try: https://code.sololearn.com/W88Lt2HWPUMv/ , I looked that challenge almost as https://code.sololearn.com/WNDGWrzNfPaE/ :)
+ 2
Here is mine
https://code.sololearn.com/cMCXLox5s17G/?ref=app
+ 2
https://code.sololearn.com/cUw5PPsYYxcr/?ref=app