If λ1, λ2, and λ3 are the wavelengths of waves producing resonance in the fundamental, first-overtone, and second-overtone modes, respectively, in a string fixed at both ends, then the ratio λ1:λ2:λ3 is
(1) 1:2:3
(2) 1:3:5
(3) 1:21:31
(4) 1:31:51