CF582D Number of Binominal Coefficients
Description
For a given prime integer $ p $ and integers $ α,A $ calculate the number of pairs of integers $ (n,k) $ , such that $ 0
Input Format
The first line contains two integers, $ p $ and $ α $ ( $ 1
Output Format
In the single line print the answer to the problem.
Explanation/Hint
In the first sample three binominal coefficients divisible by 4 are ,  and .