A small ring P is threaded on a smooth wire bent in the form of a circle of radius a and center O. The wire is rotating with constant angular speed ω about a vertical diameter XY while the ring remains at rest relative to the wire at a distance a/2 from XY. Then ω^2 is equal to