Processing math: 100%
Equation - MarisaOJ: Marisa Online Judge

Equation

Time limit: 1000 ms
Memory limit: 256 MB
Find the number of positive integers solutions (x1,x2,...,xk) for the following equation: {x1<x2<...<xkx1+x2+...+xk=n ### Input - A single line contains two integers n,k. ### Output - Print the number of solutions, modulo 109+7. ### Constraints - 1≤n≤109. - 1≤k≤5. ### Example Input: 103 Output: 4