Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/problem?id=47218
- for x in range(15):
- a = 1 * 15**4 + 2 * 15**3 + 3 * 15**2 + x*15 + 5 + 1 * 15**4 + x * 15**3 + 2 * 15**2 + 3 * 15 + 3
- if a % 14 == 0:
- print(x, a // 14)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement