Elementary Number Theory Cheat Sheet - CDS 2027
1. Divisibility and Prime Numbers
1.1 Definition of Divisibility
Let \(a, b \in \mathbb{Z}\) with \(a eq 0\). We say \(a\) divides \(b\) (denoted \(a \mid b\)) if there exists an integer \(c \in \mathbb{Z}\) such that:
\[b = ac\]1.2 Fundamental Properties
- Transitivity: If \(a \mid b\) and \(b \mid c\), then \(a \mid c\).
- Linear Combination Property: If \(a \mid b\) and \(a \mid c\), then \(a \mid (bx + cy)\) for any integers \(x, y \in \mathbb{Z}\).
1.3 The Division Algorithm
For any integers \(a\) and \(b\) with \(b > 0\), there exist unique integers \(q\) (quotient) and \(r\) (remainder) such that:
\[a = bq + r, \quad 0 \le r < b\]1.4 Primes and the Fundamental Theorem of Arithmetic
An integer \(p > 1\) is defined as a prime number if its only positive divisors are \(1\) and \(p\).
Fundamental Theorem of Arithmetic: Every integer \(n > 1\) can be uniquely factored as a product of prime powers:
\[n = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}\]2. Greatest Common Divisor (GCD) & Least Common Multiple (LCM)
2.1 Definition of GCD
The greatest common divisor of two non-zero integers \(a\) and \(b\), written as \(\gcd(a,b)\), is the largest positive integer that divides both \(a\) and \(b\).
2.2 Bézout's Identity
For any non-zero integers \(a\) and \(b\), there exist integers \(x\) and \(y\) such that:
\[\gcd(a,b) = ax + by\]2.3 The Euclidean Algorithm
To compute \(\gcd(a,b)\) efficiently where \(a > b\), perform successive divisions:
\[a = bq_1 + r_1, \quad 0 < r_1 < b\] \[b = r_1q_2 + r_2, \quad 0 < r_2 < r_1\] \[\vdots\] \[r_{n-2} = r_{n-1}q_n + r_n, \quad r_n = 0\]The last non-zero remainder, \(r_{n-1}\), is equal to \(\gcd(a,b)\).
2.4 Least Common Multiple (LCM) Relationship
The relationship between \(\gcd(a,b)\) and \(\text{lcm}(a,b)\) is given by:
\[\text{lcm}(a,b) = \frac{|ab|}{\gcd(a,b)}\]3. Modular Arithmetic & Linear Congruences
3.1 Congruence Modulo \(n\)
Let \(n \in \mathbb{Z}^+\) with \(n > 1\). We write \(a \equiv b \pmod{n}\) if \(n \mid (a - b)\).
3.2 Properties of Modular Congruences
If \(a \equiv b \pmod{n}\) and \(c \equiv d \pmod{n}\), then:
- \(a + c \equiv b + d \pmod{n}\)
- \(ac \equiv bd \pmod{n}\)
3.3 Linear Congruences and Modular Inverses
The linear congruence \(ax \equiv b \pmod{n}\) has a solution if and only if \(d \mid b\), where \(d = \gcd(a,n)\). If solvable, it yields exactly \(d\) incongruent solutions modulo \(n\).
An integer \(a\) has a modular inverse modulo \(n\) if and only if \(\gcd(a,n) = 1\). The inverse \(a^{-1}\) satisfies:
\[aa^{-1} \equiv 1 \pmod{n}\]4. Classical Number Theory Theorems
4.1 Fermat's Little Theorem
If \(p\) is a prime number and \(\gcd(a, p) = 1\), then:
\[a^{p-1} \equiv 1 \pmod{p}\]Equivalently, for any integer \(a\):
\[a^p \equiv a \pmod{p}\]4.2 Euler's Totient Function \(\phi(n)\)
Euler's totient function \(\phi(n)\) counts the number of positive integers up to \(n\) that are relatively prime to \(n\).
- If \(p\) is prime, \(\phi(p) = p - 1\).
- For a general prime factorization \(n = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}\):
4.3 Euler's Theorem
If \(\gcd(a, n) = 1\), then:
\[a^{\phi(n)} \equiv 1 \pmod{n}\]5. Chinese Remainder Theorem (CRT)
Let \(m_1, m_2, \dots, m_k\) be pairwise coprime positive integers (i.e., \(\gcd(m_i, m_j) = 1\) for \(i eq j\)). Then the system of linear congruences:
\[x \equiv a_1 \pmod{m_1}\] \[x \equiv a_2 \pmod{m_2}\] \[\vdots\] \[x \equiv a_k \pmod{m_k}\]has a unique solution modulo \(M = m_1 m_2 \cdots m_k\).
6. CDS Exam PYQ Analysis & Weightage
NTA / UPSC Exam Pattern Trends: In the Combined Defence Services (CDS) Mathematics paper, Elementary Number Theory consistently carries 10-12% weightage (typically 10-15 questions out of 100). Key high-yield topics include:
- Finding remainders using Fermat's Little Theorem and Euler's Totient Theorem.
- Unit digit and tens digit determination using Modular Arithmetic.
- Number of factors and sum of factors derived from the Fundamental Theorem of Arithmetic.
- Application of the Euclidean Algorithm to find GCD/LCM of large integer pairs.
7. Frequently Asked Questions (People Also Ask)
How many questions come from Number Theory in CDS 2027?
Historically, UPSC asks between 10 to 15 questions directly from Elementary Number Theory, covering prime factors, remainders, divisibility rules, and GCD/LCM properties.
What is the difference between Fermat's Little Theorem and Euler's Theorem?
Fermat's Little Theorem applies specifically when the modulus \(p\) is a prime number (\(a^{p-1} \equiv 1 \pmod{p}\)). Euler's Theorem is a broader generalization that works for any positive integer modulus \(n\) provided \(\gcd(a, n) = 1\), giving \(a^{\phi(n)} \equiv 1 \pmod{n}\).
How do I practice PYQs for CDS 2027 Elementary Number Theory?
You can practice over 1 Lakh+ Previous Year Questions (PYQs) and download targeted revision cheat sheets directly on ExamBhai.com or via our official Telegram study hub.
Ace CDS 2027 with ExamBhai PYQs & Notes!
Join our dedicated Telegram channel to access over 1 Lakh+ Previous Year Questions, topic-wise cheat sheets, and premium study materials for NDA, CDS, and AFCAT exams.
Join Telegram Channel NowDownload the Full PDF
Join our official Telegram community to instantly download this file.
Join TelegramDownload Full PDF
Join our official Telegram community to instantly download this file and get exclusive mock tests.
Join to Download100% Free • No Spam