PivotOJ

Divisors

시간 제한: 1000ms메모리 제한: 256MB출처: CTU Open 2005BOJ 6662

문제

Your task in this problem is to determine the number of divisors of (nk)n \choose k. Just for fun -- or do you need any special reason for such a useful computation?

입력

The input consists of several instances. Each instance consists of a single line containing two integers n and k (0 ≤ k ≤ n ≤ 431), separated by a single space.

출력

For each instance, output a line containing exactly one integer -- the number of distinct divisors of (nk)n \choose k. For the input instances, this number does not exceed 263 - 1.

예제

예제 1

입력
5 1
6 3
10 4
출력
2
6
16
코드를 제출하려면 로그인하세요.