A Computing Network written in Java extremely inefficient.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
274B

  1. #!/bin/python
  2. public=14012539
  3. mod=4862802614
  4. step = mod / 100
  5. for j in range(0, 100):
  6. print "Testing from", step*j, " to ", step*(j+1), " (", j, "%)"
  7. for i in range(j*step, (j+1)*step):
  8. if (( i * public ) % mod) == 1:
  9. print i
  10. break