Farz0l1x

Untitled

Oct 20th, 2023
806
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. Max = 0
  2. for x in range(1, 150):
  3.     a = 5 * 150**4 + 1 * 150**3 + x * 150**2 + 2 * 150 + 9 + x * 150**3 + 2 * 150 + 3
  4.     if a % 149 == 0:
  5.         Max = max(Max, x)
  6. print(Max)
  7.  
  8. a = 5 * 150**4 + 1 * 150**3 + 138 * 150**2 + 2 * 150 + 9 + 138 * 150**3 + 2 * 150 + 3
  9. print(a // 149)
Advertisement
Add Comment
Please, Sign In to add comment