An open and closed organ pipe have the same length. The ratio of pth mode of frequency of vibration of air in two pipes is