You won't be able to find a single relevant equation, for two reasons:
1 The frequencies depend on how the pipe is restrained. That is the probably single most important thing which determines the frequences.
2 There are many different modes of vibration of the pipe, each with its own (infinite) set of vibration frequencies and each governed by different equations. For example if the pipe was not restrained at all, it could vibrate by bending (like a beam), axially (changing length), torsionally, and radially (not just panting in and out, but also the cross section changing from a circle to an ellipse, or a "wavy" shape with any number of waves round the pipe).