#
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
Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition
1
·
Raymond Chen
·
June 5, 2026, 11:23 p.m.
Old New Thing
Code
Mathematics in programming
cycle decomposition
GCD
Algorithm Optimization
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
We have proof automation now
Adam Langley ·
Jul 26, 2026
dependently-typed languages
proof automation
Seriously, what is the large code-model even for?
fzakaria ·
Jul 27, 2026
large code model
software development
Digital circuit simulator in Haskell (SICP 3.3)
Two-Wrongs ·
Jul 27, 2026
programming
Haskell
Cloning an Rc from its pointer
Users Rust Lang ·
Jul 26, 2026
Rust
Memory Management
Optimizing Ruby’s JSON, Part 8
byroot ·
Jul 26, 2026
ruby
json
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google