Skip to main content

5 docs tagged with "number-theory"

View all tags

Combinatorics & Counting

"How many ways" questions tempt a direct answer: generate every arrangement, every selection, every

Math & Number Theory

Every algorithm folder so far has assumed arithmetic just works: a hash function combines numbers,

Primes & Sieves

Testing whether a single number n is prime is a small, self-contained problem: try dividing it by