Equivalent capacitance of n2 number of capacitors each of capacitance C2 in parallel =n2C2 Equivalent capacitance of n1 number of capacitors each of capacitances C1 in series. Capacitance of each is C1=
C1
n1
According to question, total energy stored in both the combinations are same i.e.,