#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
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
mathematics
Number theory
Prime numbers
modular arithmetic
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
The Most Outrageous Conjecture in the World
Combinatorics and more ·
Oct 14, 2026
Logic and set theory
Number theory
Gilbreath’s conjecture: a Cramér random model and a deterministic analysis
Terence Tao ·
Jul 11, 2026
math.CO
math.NT
Root prime gap
John Cook ·
Apr 9, 2026
Math
Number theory
Counting Primes
John Carlos Baez ·
Oct 24, 2026
mathematics
Number theory
How big are factorials?
Eli Bendersky ·
Aug 28, 2026
Misc
Math
Would Erdos have been happy with the resolution of the Erdos Unit Distance Problem? How to find out?
Blog Computationalcomplexity ·
Jul 26, 2026
mathematics
Number theory
Discover more posts →
AUTHOR
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
By continuing, you agree to our
Privacy Policy
.