Given: X takes values 0,0,2,6,12,20,…,n(n−1) with frequencies (0n),(1n),(2n),…,(nn).
Mean xˉ=2n∑r=0nr(r−1)(rn).
Using r(r−1)(rn)=n(n−1)(r−2n−2) for r≥2,
we get ∑r=0nr(r−1)(rn)=n(n−1)∑r=2n(r−2n−2)=n(n−1)2n−2.
Thus xˉ=2nn(n−1)2n−2=4n(n−1).
Set 4n(n−1)=60⇒n2−n−240=0⇒(n−16)(n+15)=0⇒n=16 (since n>0).
Total frequency N=∑r=016(r16)=216.
Since N is even, median = average of (2N)th and (2N+1)th terms.
2N=215=32768. Compute cumulative frequencies:
(016)=1, (116)=16, cumulative = 17.
(216)=120, cumulative = 137.
(316)=560, cumulative = 697.
(416)=1820, cumulative = 2517.
(516)=4368, cumulative = 6885.
(616)=8008, cumulative = 14893.
(716)=11440, cumulative = 26333.
(816)=12870, cumulative = 39203.
Since 32768 lies between 26333 and 39203, the 32768th and 32769th terms both correspond to X=56.
Hence median = 256+56=56.