Farz0l1x

Untitled

Feb 2nd, 2023
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. for x in range(1, 14):
  2.     if (3 * 11**4 + 3 * 11**3 + 6 * 11**2 + 4 * 11 + x) + (x * 12**4 + 7 * 12**3 + 9 * 12**2 + 4 * 12 + 6) == (5 * 14**4 + 5 * 14**3  + x * 14**2 + 8 * 14 + 7):
  3.         print(x,  (3 * 11**4 + 3 * 11**3 + 6 * 11**2 + 4 * 11 + x) + (x * 12**4 + 7 * 12**3 + 9 * 12**2 + 4 * 12 + 6))
Advertisement
Add Comment
Please, Sign In to add comment