We describe in this paper algorithms and some results of constructing optimal mode expansion of random phase of an optical wave in turbulent atmosphere. We also present the obtained analytical form of the fundamental Karhunen-Loeve-Obukhov (K-L-O) modes represented in Zernike basis.