5 ms·
Not 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=IQofiP
by yock 13y ago
Not 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.