#
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
Benchmarks Are Free Now
Daniel Doubrovkine (dB.) @dblockdotorg ·
Aug 15, 2026
ruby
benchmarking
Practical Loop Engineering
Addy Osmani ·
Aug 14, 2026
Loop Engineering
software development
Master Low-Level Graphics in C: Build a Software Renderer from Scratch
freeCodeCamp.org ·
Aug 13, 2026
Youtube
c-programming
Swapping matrix names in a loop
Fortran Lang Discourse ·
Aug 16, 2026
Fortran
Memory Management
Does an Agent Really Need TDD?
Johnson Lee ·
Aug 13, 2026
Harness Engineering
AI
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google