Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for a in range(1, 10**5):
- for x in range(9):
- m = 8 * 9 ** 4 + 4 * 9**3 + 2 * 9**2 + x * 9 + 5
- n = 8 * 9**4 + x * 9**3 + 7 * 9**2 + 2 * 9 + 5
- if (m + a) % n == 0:
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement