Search⌘ K

Algebra

Explore foundational number theory concepts including natural numbers, factorials, factors and multiples, prime numbers, and modulus operations. Understand essential algebraic principles needed to solve problems efficiently in competitive programming contexts.

Natural numbers

All positive integers starting from 11 1,2,3,4,5,6,7,8,...1, 2, 3, 4, 5, 6, 7, 8, ...


Sum

Sum of first nn natural numbers is n(n+1)2\frac{n*(n+1)}{2} ...