Sun Zhiwei (Chinese: 孙智伟; pinyin: Sūn Zhìwěi; Wade–Giles: Sun Chih-wei, born October 16, 1965) is a Chinese mathematician, working primarily in number theory, combinatorics, and group theory. He is a professor at Nanjing University.
Born in Huai'an, Jiangsu, Sun and his twin brother Sun Zhihong proved a theorem about what are now known as the Wall–Sun–Sun primes that guided the search for counterexamples to Fermat's last theorem.
He used q-series to prove that any natural number can be represented as a sum of an even square and two triangular numbers. He conjectured, and proved with B.-K. Oh, that each positive integer can be represented as a sum of a square, an odd square and a triangular number. In 2009, he conjectured that any natural number can be written as the sum of two squares and a pentagonal number, as the sum of a triangular number, an even square and a pentagonal number, and as the sum of a square, a pentagonal number and a hexagonal number. He also raised many open conjectures on congruences  and posed over 100 conjectural series for powers of .
In 2013, he published a paper  containing many conjectures on primes, one of which states that for any positive integer there are consecutive primes not exceeding such that , where denotes the -th prime.
He is the Editor-in-Chief of the Journal of Combinatorics and Number Theory.
- Unification of zero-sum problems, subset sums and covers of
- Mixed sums of squares and triangular numbers (III)
- On universal sums of polygonal numbers
- Open conjectures on congruences
- List of conjectural series for powers of and other constants
- On functions taking only prime values, J. Number Theory 133(2013), 2794-2812
- Refining Lagrange's four-square theorem, J. Number Theory 175(2017), 167-190