The quest for the Holy Number of Nirvana was the work of Ly-Chee's life — a mathematical puzzle to which he had devoted over thirty Toran years. Hidden amongst what he called "the sacred tales" were numbers. Solving for the relationship between the numbers would eventually lead to the so-called "Holy Number of Nirvana".
When Ly-Chee shared the puzzle with the Seventh Doctor, the Time Lord was stumped for several days. However, he eventually saw that the riddle was "a number series puzzle with a bit of differential calculus at the end". He concluded that the Holy Number of Nirvana was seven. (COMIC: The Enlightenment of Ly-Chee the Wise)