CodeHive
Home
Blog
Series
Contact me
open main menu
Tags
→
#lucas-theorem
Week 3 Day 3: Lucas Theorem - The Giant Slayer
14 Jul 2025
How to compute nCr % p when n is huge (like 10^18) but p is small.