Advertisement
nq1s788

14(2)

Mar 16th, 2024
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. for a in range(1, 10**5):
  2.     for x in range(9):
  3.         m = 8 * 9 ** 4 + 4 * 9**3 + 2 * 9**2 + x * 9 + 5
  4.         n = 8 * 9**4 + x * 9**3 + 7 * 9**2 + 2 * 9 + 5
  5.         if (m + a) % n == 0:
  6.             print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement