#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Sum of low squares
·
John Cook
·
July 19, 2026, 5:53 p.m.
Math
Number theory
SymPy
modular arithmetic
Prime numbers
mathematics
Number theory
Summary
The post discusses the properties of squares in modular arithmetic relative to an odd prime number p, indicating that half the numbers from 1 to p - 1 are squares, and mentions the existence of solutions to the equation x² = k mod p.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Gilbreath’s conjecture: a Cramér random model and a deterministic analysis
Terence Tao ·
Jul 11, 2026
math.NT
math.CO
Root prime gap
John Cook ·
Apr 9, 2026
Math
Number theory
How big are factorials?
Eli Bendersky ·
Aug 28, 2026
Math
Misc
Would Erdos have been happy with the resolution of the Erdos Unit Distance Problem? How to find out?
Blog Computationalcomplexity ·
Jul 26, 2026
mathematics
conjectures
Egyptian fractions for 2/105
Mark Dominus ·
Jun 12, 2026
Math
Egyptian Fractions
Summing the Reciprocals of Primes
John Carlos Baez ·
Jun 1, 2026
mathematics
mathematics
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
BLOG POST FEATURED ON
Hacker News
1 points
Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google