Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

I've developed a new method of calculating primes

Name: Anonymous 2014-04-24 15:07


def gcd(a,b):
if b==0:
return a
return gcd(b,a%b)

prod = 2
x = 3
greatest_prime = 0
while greatest_prime < 100000:
if gcd(x,prod) == 1:
prod*=x
greatest_prime = x
x+=2

print(greatest_prime)

Name: Anonymous 2014-04-24 16:05

Memory on prod is going to be a bitch.

Name: "man-months" 2014-04-24 19:29

ONE WORD: THE FORCED INDENTATION OF CODE

Thread over

Name: Anonymous 2014-04-24 23:26

>>3
Holy shit dude, that meme is fuggen EPIN xD

Name: Anonymous 2014-04-24 23:30

>>4
You still don't fit in.

Name: Anonymous 2014-04-25 1:58

>>5
Holy shit dude, that meme is fuggen EPIN xD

Name: Anonymous 2014-04-25 2:34

>>6
Holy shit dude, that meme is fuggen EPIN xD

Name: Anonymous 2014-04-25 3:44

ejpin ejpin fo da win

Name: Anonymous 2014-04-25 14:24

>>7
Holy shit dude, that meme is fuggen EPIN xD

Name: Anonymous 2014-05-04 2:54

>>1
100003
and it only took 14.08 seconds!

Name: Anonymous 2014-05-04 10:37

>>3
It's the most awesome syntactical invention since Lishp.

Don't change these.
Name: Email:
Entire Thread Thread List