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