Acestar's Blog

A drop of tear blurs memories of the past.

0%

一些多项式以及生成函数的题目

阅读全文 »

Link

Description

给定 n,m,kn,m,k,对于所有的 0≤i≤n,0≤j≤min(i,m)0\le i \le n,0\le j \le min(i,m) 有多少对 (i,j)(i,j) 满足 Cijmod  k=0C_i^j \mod k = 0

1≤n,m≤1018, 1≤k≤1001\le n,m \le 10^{18},\ 1 \le k \le 100 且 kk 为质数。

阅读全文 »