lcpy gen -n <number>.
Number Theory in Python with Tests
All 14 Number Theory LeetCode problems with tested Python solutions.
Number Theory holds 14 problems (2 Easy, 7 Medium, 5 Hard).
Generate any of them into the current directory with
Last modified on September 7, 2026