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