Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [0] * 21
- a[2] = 1
- for i in range(3, 21):
- a[i] += a[i - 2]
- if i % 5 == 0:
- a[i] += a[i // 5]
- print(a[20])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement