We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Leonardo's Prime Factors
Leonardo's Prime Factors
Sort by
recency
|
336 Discussions
|
Please Login in order to post a comment
Here my code
I don't understand the problem or the way it's supposed to be answered. Why does it say the numbers 100, 30, and 42, have 3 distinct prime values? Which numbers are these supposed to be?
Go solution, for explanation pls refer this and this.
c#
public static int primeCount(long n)