Liu Wei should be Liu Hui, a figure in Wei and Jin Dynasties, a great mathematician in Wei and Jin Dynasties, and one of the founders of China's classical mathematical theory.
Liu Hui, the former king of Zhao Chu, was the former royal family of Zhao Dynasty in China. In the second year of Chu Guang, Emperor Gaozu Liu Yao returned to Chang 'an, and made his son Liu Xi the king of Changle, and Liu Hui the king of Chu. All the children of the royal family were county kings. Liu Hui's main achievements are: cleaning up the ancient mathematical system in China, cutting circles, and putting forward the lid of formulas. His main representative works are: Nine Chapters Arithmetic Notes, Repeated Difference Techniques and Nine Chapters Repeated Difference Diagram, among which Nine Chapters Arithmetic Notes and Repeated Difference Techniques are treasures in the field of mathematics in China and have played a vital role in the development of mathematics.