对于集合 {1,2,…,n}\{1,2,\dots,n\}{1,2,…,n},求它的子集族中,有多少个满足:
答案对 MMM 取模。
$2\le n\le 3000,10^8\le M\le10^9+9,M\in \text{prime}$
使用您的 gxyz 通用账户