Finding Magnetic Flux
For a single coil the picture below is worth considering: -



Picture source.

It has all the key elements of your derivation but there are some discrepancies. For instance, what is \$\theta\$ representing in your formula? Anyway I'm sure you can use this to develop your formula for parallel Helmholzt coils.