0%

Problem 791


Problem 791


Average and Variance

Denote the average of k numbers x1,,xk by x¯=1kixi. Their variance is defined as 1ki(xix¯)2.

Let S(n) be the sum of all quadruples of integers (a,b,c,d) satisfying 1abcdn such that their average is exactly twice their variance.

For n=5, there are 5 such quadruples, namely: (1,1,1,3),(1,1,3,3),(1,2,3,4),(1,3,4,4),(2,2,3,5).

Hence S(5)=48. You are also given S(103)=37048340.

Find S(108). Give your answer modulo 433494437.


均值与方差

k个数x1,,xk的均值为x¯=1kixi,并记其方差为1ki(xix¯)2

考虑所有满足1abcdn的整数四元组(a,b,c,d),记S(n)为其中均值恰好为方差两倍的四元组之和。

对于n=5,共有5个满足上述条件的四元组,分别是(1,1,1,3),(1,1,3,3),(1,2,3,4),(1,3,4,4),(2,2,3,5)

因此,S(5)=48。已知S(103)=37048340

S(108),并将你的答案对433494437取余。


Gitalking ...