When the Ommyo-gogyo-setsu theory was introduced to Japan together with Buddhism and Confucianism during the 5th and 6th centuries, it combined the studies and art of divination that involve the observations of Nature, including astronomy, Rekisu (a study to establish a calendar by calculating the solar and lunar movements), time science, Iching (Book of Changes), and became adopted in Japanese society as fortune telling techniques that could serve human needs based on the auspicious and inauspicious signs identified in Nature.
5世紀から6世紀頃、陰陽五行説が仏教や儒教とともに日本に伝わったとき、陰陽五行説と密接な関係をもつ天文、暦数、時刻、易経といった自然の観察に関わる学問、占術とあわさって、自然界の瑞祥・災厄を判断し、人間界の吉凶を占う技術として日本社会に受け入れられた。