img5

Box with green outline and white background. Words in green at the top reading Prime number detector and just below and to the right it also reads in green version 2.0. Then in black it gives a mathematical expression which reads floor function of 1 over (1 + 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 green is written outputs. If the output is 1 then x is prime. If the output is 0 then x is not prime.

More from Chalkdust

Both comments and trackbacks are currently closed.