DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
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

Finding a square root of -1 mod p

1 · John Cook · Feb. 14, 2026, 10:40 p.m.
Math Number theory mathematics Number theory Prime numbers algorithms
Summary
The blog post discusses a mathematical theorem regarding the existence of square roots of -1 modulo an odd prime p, specifically when such solutions exist under the condition that p = 1 mod 4. It also references previous discussions on an algorithm by Stan Wagon related to prime numbers.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Finding a non-square mod p
John Cook · Feb 14, 2026
Computing Math
Gilbreath’s conjecture: a Cramér random model and a deterministic analysis
Terence Tao · Jul 11, 2026
math.CO math.NT
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
​◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦​᪣​🞊​᪣​𝆯​᪣​🞊​᪣​ ​᪣​🞊​᪣​𝆯​᪣​🞊​᪣​◦୦◦◯◦୦◦⊚⚪⊚◦୦◦◯◦୦◦​
⠀   ᯽ ᯽   ⠀ · Jun 14, 2026
oo mathematics
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
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google