Let the regetta lasted N days and the days in question are (x−1)th,xth, and (x+1)th. Then
Number of races on (x−1)th day =(x−1)(N−(x−2))=6k...(1)
Number of races on xth day =x(N−(x−1))=5k...(2)
Number of races on (x−1)th day =(x+1)(N−x)=3k...(3)
Subtracting (2) from (1), we get 2x−2−N=k...(4)
Subtracting (3) from (2), we get 2x−N=2k...(5)
Subtracting (4) from (5), we get k=2
From (5), we have 2x−N=4⟹N=2x−4
Substituting the value of k and N in (2), we get
x(x−3)=10⟹x2−3x−10=0⟹(x−5)(x+2)=0
∴x=5 and N=6
Hence, the regatta lasted for 6 days and the 3 successive days were 4th, 5th and 6th