Q.
n cells each of emf ε and internal resistance r send the same current through an external resistance R whether the cells are connected in series or in parallel. Then
Cells in series,
Current through the external resistance, I=R+nrnε
Cells in parallel, I=R+nrε=nR+rnε
According to problem, R+nrnε=nR+rnε
or, R+nr=nR+r⇒R(1−n)=r(1−n) ⇒R=r