STEP-BY-STEP LEARNING

Learn Number System · Mathematics

Learn Number System in Mathematics step by step with concepts, examples, quick checks and revision for government exams.

—Due now
—Next revision
—Mastered
—Study streak
Text size
Complete Topic Lesson

Number System Mastery for Competitive Exams

This lesson builds a complete understanding of the number system, from basic definitions to advanced shortcuts for sums, remainders, and perfect squares. You will learn derivations, reverse problem-solving, and exam-level applications with solved examples and common pitfalls.

On this page
  1. Classification of Numbers
  2. Place Value and Face Value
  3. Sum of Natural Numbers
  4. Sum of Odd and Even Numbers
  5. Prime Numbers and Composite Numbers
  6. Perfect Squares and Square Roots
  7. Remainders and Divisibility
  8. Arithmetic Progression and Sum of Series
  9. Shortcuts and Proofs
  10. Reverse Problems and Edge Cases
  11. Worked examples
  12. Common mistakes
  13. Frequently asked questions

The number system is the foundation of quantitative aptitude. It covers natural numbers, whole numbers, integers, primes, composites, divisibility, remainders, and series sums. Mastering this topic helps you solve problems quickly and accurately in exams like SSC, Banking, Railways, and State PSCs. This lesson explains the 'why' behind each formula, offers faster methods, and includes reverse problems and edge cases.

Key Formulas
Sum of first n natural numbersn(n+1)/2
Sum of first n odd numbersn^2
Sum of first n even numbersn(n+1)
nth term of APa + (n-1)d
Sum of n terms of APn/2 × (2a + (n-1)d)
Least number to subtract for perfect squareN - (floor(sqrt(N)))^2
ConceptFormula/PropertyExample
Natural numbers1,2,3,...Sum first 20 = 210
Odd numbersSum = n^2Sum first 20 odds = 400
Even numbersSum = n(n+1)Sum first 5 evens = 30
Prime numbersExactly two factors2,3,5,7,11
Composite numbersMore than two factors4,6,8,9,10
Perfect squaresEnd in 0,1,4,5,6,91000-39=961=31^2
1Identify the type of problem: sum, remainder, prime, perfect square.
2Recall the relevant formula or property.
3Substitute values and simplify.
4Check for edge cases and reverse conditions.
5Verify answer with a small example or estimation.

Classification of Numbers

Numbers are classified into sets based on their properties. Natural numbers (N) are counting numbers starting from 1. Whole numbers (W) include 0 along with naturals. Integers (Z) include negative numbers, zero, and positives. Rational numbers can be expressed as p/q where q≠0. Irrational numbers cannot be expressed as a simple fraction. Real numbers include both rational and irrational. Prime numbers have exactly two distinct factors: 1 and themselves. Composite numbers have more than two factors. 1 is neither prime nor composite. 2 is the only even prime. Understanding these definitions is crucial for solving classification and property-based questions.

  • Natural numbers: 1, 2, 3, ...
  • Whole numbers: 0, 1, 2, 3, ...
  • Integers: ..., -2, -1, 0, 1, 2, ...
  • Prime: exactly two factors (e.g., 2, 3, 5, 7, 11)
  • Composite: more than two factors (e.g., 4, 6, 8, 9)
  • 1 is neither prime nor composite.
N = {1,2,3,...}, W = {0,1,2,...}, Z = {...,-1,0,1,...}

Place Value and Face Value

In a number, each digit has a place value and a face value. Face value is the digit itself. Place value depends on the position of the digit. For example, in 6,573, the digit 5 is in the hundreds place, so its place value is 5 × 100 = 500. The face value is 5. This concept is used in forming numbers, finding differences, and solving puzzles. Always identify the place correctly: units, tens, hundreds, thousands, etc.

  • Face value: the digit as it is.
  • Place value: digit × value of its position.
  • Example: In 6,573, place value of 5 is 500.
  • Positions from right: units (1), tens (10), hundreds (100), thousands (1000).
Place value = Digit × (10^position from right, starting at 0)

Sum of Natural Numbers

The sum of the first n natural numbers is given by n(n+1)/2. This formula was derived by Gauss. Intuition: pair the first and last numbers: 1+n, 2+(n-1), etc. Each pair sums to n+1, and there are n/2 pairs. So total = n(n+1)/2. This works for any positive integer n. For example, sum of first 20 natural numbers = 20×21/2 = 210. Reverse problem: If sum is 78, find n. Solve n(n+1)/2 = 78 → n(n+1)=156 → n=12 (since 12×13=156).

  • Formula: S = n(n+1)/2
  • Works for all positive integers n.
  • Reverse: Given S, solve quadratic n^2 + n - 2S = 0.
  • Example: Sum of first 20 = 210.
S_n = n(n+1)/2

Sum of Odd and Even Numbers

Sum of first n odd natural numbers is n^2. Why? The sequence is 1, 3, 5, ..., (2n-1). This is an arithmetic progression with first term 1, last term 2n-1, and n terms. Sum = n/2 × (1 + 2n-1) = n/2 × 2n = n^2. For example, sum of first 20 odd numbers = 20^2 = 400. Reverse: If sum of first n odd numbers is 225, then n^2 = 225 → n = 15. Sum of first n even natural numbers is n(n+1). Sequence: 2, 4, 6, ..., 2n. Sum = 2(1+2+...+n) = 2 × n(n+1)/2 = n(n+1).

  • Sum of first n odd numbers = n^2
  • Sum of first n even numbers = n(n+1)
  • Reverse: n = sqrt(sum) for odd numbers.
  • Example: Sum of first 5 odd numbers = 25.
S_odd = n^2, S_even = n(n+1)

Prime Numbers and Composite Numbers

A prime number has exactly two distinct positive divisors: 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, ... Note that 2 is the only even prime. To check if a number is prime, test divisibility by primes up to its square root. For example, to check 97, test primes up to sqrt(97) ≈ 9.8: 2, 3, 5, 7. None divide 97, so 97 is prime. Composite numbers have more than two factors. 1 is neither prime nor composite. The next prime after 7 is 11. The sum of the first 5 primes (2+3+5+7+11) = 28.

  • Prime: exactly two factors.
  • 2 is the only even prime.
  • 1 is neither prime nor composite.
  • To test primality, check divisibility by primes ≤ sqrt(n).
  • First 5 primes: 2, 3, 5, 7, 11; sum = 28.
If n has no prime factor ≤ sqrt(n), then n is prime.

Perfect Squares and Square Roots

A perfect square is an integer that is the square of another integer. For example, 1, 4, 9, 16, 25, ... To find the least number to subtract from a given number to make it a perfect square, find the largest perfect square less than or equal to the number, then subtract. For 1000, the largest perfect square ≤ 1000 is 31^2 = 961. So subtract 1000 - 961 = 39. Alternatively, find the square root of 1000 ≈ 31.62, take floor = 31, square it, and subtract. This method works for any number.

  • Perfect squares end in 0,1,4,5,6,9 (never 2,3,7,8).
  • To make a number a perfect square, subtract the difference from the nearest lower square.
  • Example: 1000 - 31^2 = 1000 - 961 = 39.
  • Square root of a perfect square is an integer.
Least number to subtract = N - (floor(sqrt(N)))^2

Remainders and Divisibility

When a number is divided by another, the remainder is what is left. For example, 17 divided by 5 gives remainder 2. The Chinese Remainder Theorem helps solve systems of congruences. For simple cases, if a number leaves remainders r1, r2, r3 when divided by d1, d2, d3, we can find the least number by trial or using the formula: N = LCM(d1,d2,d3) × k + common remainder, if remainders are same. If remainders are different but the difference between divisor and remainder is constant, then N = LCM × k - constant. Example: Least number which when divided by 5, 7, 9 leaves remainders 3, 5, 7 respectively. Here, 5-3=2, 7-5=2, 9-7=2. So N = LCM(5,7,9) - 2 = 315 - 2 = 313.

  • Perfect squares end in 0,1,4,5,6,9 (never 2,3,7,8); this is a necessary but not sufficient condition.
  • If (divisor - remainder) is constant, N = LCM × k - constant.
  • Example: 313 when divided by 5,7,9 leaves 3,5,7.
  • LCM of 5,7,9 = 315.
N = LCM(d1,d2,...) × k ± constant

Arithmetic Progression and Sum of Series

An arithmetic progression (AP) is a sequence where the difference between consecutive terms is constant. The nth term is a + (n-1)d, where a is the first term and d is the common difference. The sum of first n terms is n/2 × (2a + (n-1)d) or n/2 × (first term + last term). This is useful for summing numbers in a range that form an AP. For example, sum of all three-digit numbers that leave remainder 3 when divided by 7. These numbers are of the form 7k+3. The smallest three-digit is 101 (7×14+3), largest is 997 (7×142+3). Number of terms = 142 - 14 + 1 = 129. Sum = 129/2 × (101 + 997) = 129/2 × 1098 = 129 × 549 = 70821.

  • AP nth term: a + (n-1)d
  • Sum of n terms: n/2 × (2a + (n-1)d)
  • Sum of n terms: n/2 × (first + last)
  • Example: Sum of three-digit numbers ≡3 mod 7 = 70821.
S_n = n/2 × (a + l)

Shortcuts and Proofs

Shortcuts save time in exams. For sum of first n natural numbers, the formula n(n+1)/2 is derived by pairing. For sum of odd numbers, n^2 is derived from AP. For sum of even numbers, n(n+1) is derived from factoring 2. For remainders, the LCM method works because the number must satisfy all congruences simultaneously. Proof: If N ≡ r (mod d) for multiple d, then N = LCM × k + r when remainders are same. If remainders differ but divisor-remainder is constant, N = LCM × k - constant. These shortcuts are reliable and fast.

  • Sum of first n naturals: n(n+1)/2
  • Sum of first n odds: n^2
  • Sum of first n evens: n(n+1)
  • Remainder shortcut: LCM ± constant
  • Always verify with small numbers.
See above

Reverse Problems and Edge Cases

Reverse problems give the sum and ask for n. For sum of first n naturals = 78, solve n(n+1)/2 = 78 → n^2 + n - 156 = 0 → n = 12. For sum of first n odds = 225, n^2 = 225 → n = 15. Edge cases: n must be a positive integer. If the quadratic does not yield an integer, the sum is not possible. For perfect squares, if the number is already a perfect square, subtract 0. For primes, 2 is the only even prime; 1 is not prime. For remainders, if the constant is negative, add LCM to get the least positive number.

  • Reverse sum of naturals: solve quadratic.
  • Reverse sum of odds: take square root.
  • Check for integer solutions.
  • Edge case: 1 is not prime.
  • Edge case: 0 is a whole number but not natural.
n = (-1 + sqrt(1+8S))/2 for sum of naturals, valid only when S is a triangular number so that n is an integer

Worked examples

Find the sum of the first 20 natural numbers.
Show solution

Use formula S = n(n+1)/2. Here n=20. S = 20×21/2 = 210.

210
What is the sum of the first 20 odd natural numbers?
Show solution

Sum of first n odd numbers = n^2. Here n=20. Sum = 20^2 = 400.

400
If the sum of the first n natural numbers is 78, find n.
Show solution

n(n+1)/2 = 78 → n(n+1)=156.

Solve n^2 + n - 156 = 0. Factors: (n-12)(n+13)=0. n=12 (positive).

12
What is the next prime number after 7?
Show solution

Check numbers after 7: 8 (composite), 9 (composite), 10 (composite), 11 (prime). So next prime is 11.

11
What is the place value of 5 in the number 6,573?
Show solution

The digit 5 is in the hundreds place. Place value = 5 × 100 = 500.

500
What is the least number that must be subtracted from 1000 to make it a perfect square?
Show solution

Find largest perfect square ≤ 1000. sqrt(1000) ≈ 31.62. 31^2 = 961. Subtract: 1000 - 961 = 39.

39
The sum of the first 5 prime numbers is:
Show solution

First 5 primes: 2, 3, 5, 7, 11. Sum = 2+3+5+7+11 = 28.

28
If the sum of the first n odd natural numbers is 225, find n.
Show solution

Sum of first n odd numbers = n^2. n^2 = 225 → n = 15 (positive).

15
What is the least number which when divided by 5, 7, and 9 leaves remainders 3, 5, and 7 respectively?
Show solution

Observe: 5-3=2, 7-5=2, 9-7=2. So N = LCM(5,7,9) - 2 = 315 - 2 = 313.

313
What is the sum of all three-digit numbers that leave a remainder of 3 when divided by 7?
Show solution

Numbers: 7k+3. Smallest three-digit: 101 (7×14+3). Largest: 997 (7×142+3). Number of terms = 142-14+1=129. Sum = 129/2 × (101+997) = 129/2 × 1098 = 129 × 549 = 70821.

70821

Common mistakes

  • Confusing place value with face value.
  • Forgetting that 1 is neither prime nor composite.
  • Using n(n+1)/2 for odd numbers instead of n^2.
  • In remainder problems, not checking if the constant is same for all divisors.
  • In AP sum, miscounting the number of terms.
  • Assuming all numbers ending in 1,4,9 are perfect squares (e.g., 14 is not).
  • In reverse problems, ignoring negative roots or non-integer solutions.
  • Forgetting that 2 is the only even prime.

Frequently asked questions

What is the difference between natural numbers and whole numbers?

Natural numbers start from 1 (1,2,3,...), while whole numbers include 0 (0,1,2,3,...).

Is 1 a prime number?

No, 1 is neither prime nor composite because it has only one factor (itself).

How do I find the sum of the first n odd numbers?

The sum of the first n odd numbers is n^2. For example, sum of first 5 odd numbers (1+3+5+7+9) = 25 = 5^2.

What is the formula for the sum of the first n natural numbers?

The sum is n(n+1)/2. For n=10, sum = 10×11/2 = 55.

How to find the least number to subtract from a number to make it a perfect square?

Find the largest perfect square less than or equal to the number, then subtract it from the number. For 1000, 31^2=961, so subtract 39.

What is the next prime after 7?

The next prime after 7 is 11, as 8,9,10 are composite.

How to solve remainder problems where remainders are different?

If the difference between divisor and remainder is constant, use N = LCM × k - constant. Otherwise, use trial and error or Chinese Remainder Theorem.

What is the sum of the first 5 prime numbers?

The first 5 primes are 2,3,5,7,11. Their sum is 28.

Practice this lesson ↓

Loading…