4 ms·
Why greater than 5? Don't 3 and 5 work as well? 3 = 1 + 1 + 1 5 = 3 + 1 + 1 Or do they mean different primes? EDIT: Oops, I forgot about 1 not being prime
by lifeformed 13y ago
Why greater than 5? Don't 3 and 5 work as well?
3 = 1 + 1 + 1
5 = 3 + 1 + 1
Or do they mean different primes?
EDIT: Oops, I forgot about 1 not being prime.
- mcherm 13y ago1 is not considered prime.
- ArikBe 13y agoOne is not prime. http://primes.utm.edu/notes/faq/one.html http://primes.utm.edu/notes/faq/one.html
- theIV 13y agoI think it depends on what school of thought you are coming from, but generally 1 is not considered a prime.
- iTrollFreely 13y agoonly in the school of i-failed-math. 1 is not prime. no general consideration required.
- winthrowe 13y agoI haven't read the paper, but in other 'fun with primes' exercises, 1 is often excluded.
- yock 13y agoNot to be a "pile on", but Numberphile did a great video on why 1 is not prime. http://www.youtube.com/watch?v=IQofiPqhJ_s http://www.youtube.com/watch?v=IQofiPqhJ_s
- mratzloff 13y agoI understand "we got tired of saying 'excluding 1'", but I still don't grasp how the product of zero primes is 1 and not 0.
- recursive 13y ago1 is the multiplicative identity. If you were to write a for loop calculating the product of a list of ints, what would be the initial value for the accumulator?
- jeffasinger 13y agoMultiplying 0 times is the "same" as raising something to the 0 power.
- mratzloff 13y agoOh, of course. x exp. 0 == 1. I got that he was using powers but my brain didn't equate 2 exp. 0 with how he explained it for some reason.