img4

Box with blue outline and white background. Words in blue at the top reading Prime number detector and just below and to the right it also reads in blue version 1.0. Then in black it gives a mathematical expression which reads the sum from m = 2 to the floor of square root n of the floor function of (2) to the (floor(n/m) - n/m). Underneath that in blue is written outputs. If the output is 0 then x is prime. If the output is other then x is not prime.

More from Chalkdust

Both comments and trackbacks are currently closed.