Guest User

Untitled

a guest
May 26th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/usr/bin/env python
  2. from math import sqrt
  3.  
  4. NUMBER = 6319
  5. SQ = int(sqrt(NUMBER))
  6.  
  7. for i in range(3,SQ,2):
  8. if NUMBER%i == 0:
  9. print i, '/', NUMBER/i
  10. print "(p-1)(q-1)=", (i-1)*(NUMBER/i-1)
Add Comment
Please, Sign In to add comment