img6

Box with orange outline and white background. Words in orange at the top reading Prime number detector and just below and to the right it also reads in orange version 2.1. Then in black it gives a mathematical expression which reads the floor function of the sum from m = 1 to the floor of square root n of the floor function of (2) to the (floor(n/m) - n/m) to the power of -1. Underneath that in orange 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.