#
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
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
Binomial Coefficient Coincidences
John Carlos Baez ·
Sep 20, 2026
mathematics
mathematics
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
Egyptian fractions for 2/105
Mark Dominus ·
Jun 12, 2026
Math
mathematics
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
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
By continuing, you agree to our
Privacy Policy
.