100 atcoder#ABC178D. [ABC178D] Redistribution
[ABC178D] Redistribution
Score : points
Problem Statement
Given is an integer . Find how many sequences there are whose terms are all integers greater than or equal to , and whose sum is equal to . The answer can be very large, so output it modulo .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
7
3
sequences satisfy the condition: , and .
2
0
There are no sequences that satisfy the condition.
1729
294867501