Odd Numbers - GeeksforGeeks

Odd Numbers

Last Updated : 12 Oct, 2026

Odd numbers are numbers that are not divisible by 2 and always leave a remainder of 1 when divided by 2. They end with 1, 3, 5, 7, or 9.

Examples: 1, 3, 5, 7, 9, 11, 13, …

5
Odd Numbers from 1 to 100

Key Features

  • The sequence of odd numbers starts from 1 and continues infinitely.
  • They are used in number patterns, arithmetic operations, and problem-solving.
  • Every odd number can be expressed in the form 2n + 1, where n is a whole number.
    For example, if n = 2, then the odd number is 2(2) + 1 = 5.

How to Identify Odd Numbers

Numbers ending with 1, 3, 5, 7, and 9 are Odd numbers, as only numbers ending with 0, 2, 4, 6, and 8 are divisible by 2. Also if on dividing the number with 2 if the remainder is one then the number is an odd number.

1
Identifying odd numbers

Example: Which of the following is an odd number? 1123, 3214, 12452, 34824, and 98354

Solution:

From the given number 1123 is an odd number because, on dividing with 2 it gives the remainder as 1.

Sum of Odd Numbers from 1 to 100

The sum of all odd numbers from 1 to 100 can be calculated using the formula S = n/2(first odd number + last odd number), where n is the total count of odd numbers within the range. As there are 50 odd numbers (n = 50) between 1 and 100, we can substitute these values into the formula:

S = \frac{50}{2}(1 + 99)

This simplifies to:

S = 25 \times 100

Resulting in:

S = 2500

Therefore, the sum of all odd numbers from 1 to 100 is 2500.

Formula

An odd number is a number that is not divisible by 2. Odd numbers can be represented in a general form using a simple formula.

The formula for an odd number is

2n + 1

where, n is any integer.

When different integer values are substituted for n, the expression 2n + 1 always produces an odd number. This formula helps in identifying, generating, and proving properties related to odd numbers in mathematics.

Properties

All the Odd numbers can be represented as 2k + 1, where all k belongs to integers. For example, 13 can be written as 2 × 6 + 1, -11 can be written as 2 × (-6) + 1, and 21 can be written as 2 × 10 + 1, etc.

There are various property of odd numbers explained in the table below,

Property

Operation

Example

Property of Addition

Odd + Odd = Even

3 + 7 = 10

Property of Subtraction

Odd - Odd = Even

7 - 3 = 4

Property of Multiplication

Odd × Odd = Odd

3 × 7 = 21

Types

Various types of Odd Numbers are as follows,

1. Consecutive Odd Numbers

For any number to be consecutive, they need to follow each other in order, and if numbers are consecutive as well as Odd in nature then those are called consecutive odd numbers.

  • Examples of consecutive odd numbers include 1, 3, 5, 7, and 9 (the first five consecutive odd natural numbers), and 11, 13, 15, 17, and 19.
  • If we have an odd number a, we can determine the next consecutive odd number by adding 2 to it, i.e., a+2.
  • It is important to note that the difference between any two consecutive odd or even numbers is always 2.

2. Composite Odd Numbers

Positive integers that have factors other than 1 and themselves are called composite numbers. For a number to be considered a composite odd number, a number must be both odd and composite.

  • For instance, 9 is a composite odd number because it is divisible by 3, and when divided by 2, it gives a remainder of 1.
  • Other examples of composite odd numbers include 15, 27, 35, 65, and so on.

Note: All Prime Numbers are Odd Numbers except for 2 which is Even Number.

Odd Number on Number Line

A number line is a line in which numbers are marked and is used to marks the position of various numbers and perform all sort of mathematical operations such as addition, subtraction, and others.

Odd-numbers-on-a-number-line

Odd numbers are easily represented on the number line. They are represented by skipping one number and marking the other number starting from any odd number.

Odd Numbers Worksheet

Comment

Explore