Search found 2 matches
- Sun Jan 21, 2007 2:01 am
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 69659
- Wed Oct 11, 2006 11:15 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10139 - Factovisors
- Replies: 80
- Views: 42132
You can get the prime factors of the m and n (from two to n since it is n!) numbers and keep dividing out the prime factors from m until no more prime factors remain in m (return true) or until you reach n (return false).
I would not do it with BigInteger though because it seems the judge does not ...
I would not do it with BigInteger though because it seems the judge does not ...