Infinite loop

A mathematician, a physicist, an engineer, and a programmer were discussing the theorem that all odd numbers are prime.

Mathematician: 3 is prime, 5 is prime, 7 is prime, 9 is not prime. The theorem is false.

Physicist: 3 is prime, 5 is prime, 7 is prime, 9 is not, 11 is…. The theorem is true, within experimental error.

Engineer: 3 is prime, 5 is prime, 7 is prime, 9 is prime, 11 is prime…. The theorem is true.

Programmer: 3 is prime, 3 is prime, 3 is prime….

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

The title of the joke is infinite loop. An infinite loop is what happens when a line of code is constantly repeated once it is started without a hardware interrupt or loss of power. The 3 is a prime being repeated demonstrates the infinite loop error in the programmer's code. That is the joke. As for the slur against the engineer getting 9 as a prime that is a common mathematician's claim that engineers take shortcuts in math and do not test the theorem properly.

People are right, 1 is not A prime number

ditto nikki 1 is a special number since it can only be divided by 1 so technically it wouldnt work.

ditto nikki 1 is a special number since it can only be divided by 1 so technically it wouldnt work.

o gawd, ze commentz almost killed me!

u are stupid anonymouse, the joke is fine that way... you're clearly not a programmer... and more clearly a not so smart person

Uh, I think you mean:

Programmer: 1 is prime, 1 is prime, 1 is prime.

Binary is made of 1's and 0's, so that's sort of mildly amusing. The 3's thing just doesn't make any sense. Your joke sucks.