Average and Variance
Denote the average of numbers by . Their variance is defined as .
Let be the sum of all quadruples of integers satisfying such that their average is exactly twice their variance.
For , there are such quadruples, namely: .
Hence . You are also given .
Find . Give your answer modulo .
均值与方差
记个数的均值为,并记其方差为。
考虑所有满足的整数四元组,记为其中均值恰好为方差两倍的四元组之和。
对于,共有个满足上述条件的四元组,分别是。
因此,。已知。
求,并将你的答案对取余。
Gitalking ...