Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Schematic for a prime number program
Posted:
Dec 20, 2013 1:55 AM


p<1/2q q=2n/22 for prime p prime 7 q=18 n=9 7<(1/2)18 is true 7<n is true q/2=n n2 is prime
q=2(9)==18/22=p 7 (2n) where n=9 18/22 q is true q=2n>p+2 is true
Prime 7! Calculating...
5 (2n) where n=7 2n=2(7)=14 q q=14/2 is 7 prime!
Checking prime five... 14/2 = 7  2 is prime five! n is prime!
I am not an advanced programmer, but would like to work with one who sees something in this if I can find one!
Thanks, 2M



