Loading web-font TeX/Math/Italic

Problem #213

Lonely Expansion

Let f(r,n) be the number of co-efficient which appears only once in expansion of (x1+x2+...+xr)^n

then, f(3,2) = 0 and f(3,3) = 1

Let A(i) = \sum_{j=1}^{n} f(i,j)

and B = \sum_{i=1}^{n} A(i)

Find the value of B modulo m if n=1000000000000 (10^{12}) and m=998244353.

Contributed by Samarth Agarwal

Solved by 45 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.