Problem 875 题目发布于 2024-02-03 翻译更新于 2024-03-21 Problem 875 Quadruple CongruenceFor a positive integer n we define q(n) to be the number of solutions to: a12+a22+a32+a42≡b12+b22+b32+b42(modn) where 0≤ai,bi<n. For example, q(4)=18432. Define Q(n)=∑i=1nq(i). You are given Q(10)=18573381. Find Q(12345678). Give your answer modulo 1001961001. 四重同余对于正整数n,定义q(n)为如下同余方程的解的数目:a12+a22+a32+a42≡b12+b22+b32+b42(modn)其中0≤ai,bi<n。例如,q(4)=18432。 定义Q(n)=∑i=1nq(i)。已知Q(10)=18573381。 求Q(12345678),并对1001961001取余作为你的答案。
Be the first person to leave a comment!