#
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
Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition
·
Raymond Chen
·
June 5, 2026, 11:23 p.m.
Code
Old New Thing
GCD
Algorithm Optimization
programming techniques
Mathematics in programming
Summary
This blog post discusses a mathematical approach to cycle decomposition without calculating the greatest common divisor (gcd), highlighting the challenges of mathematical concepts in programming.
Read full post on devblogs.microsoft.com →
MORE POSTS LIKE THIS
Computing big, certified Fibonacci numbers
John Cook ·
Feb 21, 2026
Computing
Number theory
Nested SIMD Predicates
Casey Muratori ·
Sep 23, 2026
SIMD
programming techniques
A Bank Is Now Something You Can Pick Up
Hindsight Blog ·
Sep 22, 2026
release
migration
Technical blog: ill-Conditioned Opinions
Fortran Lang Discourse ·
Sep 21, 2026
Python
teaching
How to build expanding include_str!("__index.js") expanded to literal r#"<index.js raw text>"# in main.rs?
Users Rust Lang ·
Sep 23, 2026
Rust
programming techniques
Protobuf, JSON Schema, and OpenAPI
Kevin McDonald ·
Sep 22, 2026
protobuf
OpenAPI
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 →
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
.