All Exams Test series for 1 year @ ₹349 only
Question

How many pairs (A, B) are possible in the number 479865AB if the number is divisible by 9 and it is given that the last digit of the number is odd?

This question was previously asked in
CDS I 2019 Elementary Mathematics Previous Year Paper (03-Feb-2019)
The correct answer is

5

Finding Pairs (A, B) for Divisibility by 9

The question asks us to find the number of possible pairs of digits (A, B) such that the six-digit number 479865AB is divisible by 9, and the last digit, B, is an odd number.

Understanding Divisibility by 9

A key concept here is the rule for divisibility by 9. A number is divisible by 9 if and only if the sum of its digits is divisible by 9.

Analyzing the Number 479865AB

The number is 479865AB. This means the digits are 4, 7, 9, 8, 6, 5, A, and B.

Let's find the sum of the known digits:

$\( \text{Sum of known digits} = 4 + 7 + 9 + 8 + 6 + 5 $\)

$\( \text{Sum of known digits} = 39 $\)

The sum of all digits in the number 479865AB is \(39 + A + B\).

Applying the Divisibility Rule

For the number 479865AB to be divisible by 9, the sum of its digits, \(39 + A + B\), must be a multiple of 9. Multiples of 9 are 9, 18, 27, 36, 45, 54, 63, and so on.

A and B are single digits, which means they can take any integer value from 0 to 9.

$\( 0 \le A \le 9 $\)

$\( 0 \le B \le 9 $\)

Therefore, the sum \(A + B\) can range from \(0 + 0 = 0\) to \(9 + 9 = 18\).

So, the sum of all digits, \(39 + A + B\), can range from \(39 + 0 = 39\) to \(39 + 18 = 57\).

The multiples of 9 between 39 and 57 (inclusive) are 45 and 54.

This gives us two possible cases for the sum of digits:

  1. \(39 + A + B = 45\)
  2. \(39 + A + B = 54\)

Considering the Last Digit is Odd

We are also given that the last digit, B, must be an odd number. The odd digits are 1, 3, 5, 7, and 9.

Case 1: Sum of Digits is 45

If \(39 + A + B = 45\), then \(A + B = 45 - 39 = 6\).

Now, we find pairs (A, B) such that \(A + B = 6\) and B is an odd digit (1, 3, 5, 7, 9). Remember A must be a digit between 0 and 9.

  • If \(B = 1\), then \(A + 1 = 6 \implies A = 5\). Pair (A, B) is (5, 1). This is valid as A = 5 is a digit.
  • If \(B = 3\), then \(A + 3 = 6 \implies A = 3\). Pair (A, B) is (3, 3). This is valid as A = 3 is a digit.
  • If \(B = 5\), then \(A + 5 = 6 \implies A = 1\). Pair (A, B) is (1, 5). This is valid as A = 1 is a digit.
  • If \(B = 7\), then \(A + 7 = 6 \implies A = -1\). This is not valid as A must be a digit \(\ge 0\).
  • If \(B = 9\), then \(A + 9 = 6 \implies A = -3\). This is not valid as A must be a digit \(\ge 0\).

From Case 1, the possible pairs (A, B) are (5, 1), (3, 3), and (1, 5). There are 3 such pairs.

Case 2: Sum of Digits is 54

If \(39 + A + B = 54\), then \(A + B = 54 - 39 = 15\).

Now, we find pairs (A, B) such that \(A + B = 15\) and B is an odd digit (1, 3, 5, 7, 9). Remember A must be a digit between 0 and 9.

  • If \(B = 1\), then \(A + 1 = 15 \implies A = 14\). This is not valid as A must be a digit \(\le 9\).
  • If \(B = 3\), then \(A + 3 = 15 \implies A = 12\). This is not valid.
  • If \(B = 5\), then \(A + 5 = 15 \implies A = 10\). This is not valid.
  • If \(B = 7\), then \(A + 7 = 15 \implies A = 8\). Pair (A, B) is (8, 7). This is valid as A = 8 is a digit.
  • If \(B = 9\), then \(A + 9 = 15 \implies A = 6\). Pair (A, B) is (6, 9). This is valid as A = 6 is a digit.

From Case 2, the possible pairs (A, B) are (8, 7) and (6, 9). There are 2 such pairs.

Total Number of Possible Pairs (A, B)

Combining the valid pairs from both cases:

Total pairs = (Pairs from Case 1) + (Pairs from Case 2)

Total pairs = 3 + 2 = 5.

There are 5 possible pairs (A, B) such that the number 479865AB is divisible by 9 and B is an odd digit.

Revision Table: Divisibility by 9 and Odd Last Digit

Condition Requirement Analysis
Divisibility by 9 Sum of digits must be a multiple of 9 \(4+7+9+8+6+5+A+B = 39+A+B\) must be a multiple of 9 (45 or 54)
Last digit is odd B must be 1, 3, 5, 7, or 9 Possible values for B are restricted to {1, 3, 5, 7, 9}
Possible sums (A+B) Derived from divisibility rule \(A+B=6\) (from \(39+A+B=45\)) or \(A+B=15\) (from \(39+A+B=54\))
Valid pairs (A,B) for A+B=6 and B odd A is a digit (0-9) (5,1), (3,3), (1,5) - Total 3 pairs
Valid pairs (A,B) for A+B=15 and B odd A is a digit (0-9) (8,7), (6,9) - Total 2 pairs
Total pairs (A,B) Sum of valid pairs from both cases 3 + 2 = 5 pairs

Additional Information: Understanding Divisibility Rules

Divisibility rules are shortcuts to check if a number is exactly divisible by another number without performing the division. The rule for 9 is based on the sum of digits.

  • Divisibility by 2: A number is divisible by 2 if its last digit is even (0, 2, 4, 6, 8).
  • Divisibility by 3: A number is divisible by 3 if the sum of its digits is divisible by 3.
  • Divisibility by 5: A number is divisible by 5 if its last digit is 0 or 5.
  • Divisibility by 6: A number is divisible by 6 if it is divisible by both 2 and 3.
  • Divisibility by 10: A number is divisible by 10 if its last digit is 0.

Understanding these rules helps solve problems involving digits and number properties efficiently, like the one involving finding pairs (A, B) for divisibility by 9 with an odd last digit.

Was this answer helpful?

Similar Questions

  1. The number 9730 - 1430 is divisible by : 

  2. What is the largest 5-digit number, which leaves the remainder 7, when divided by 18 as well as by 11 ?

  3. When every even power of every odd integer (greater than 1) is divided by 8, what is the remainder ?  

  4. Consider the following statements in respect of the polynomial 1 - x - xn + xn+1 where n is a natural number :

    1. It is divisible by 1 - 2x + x2.

    2. It is divisible by 1 - xn.

    Which of the statements given above is/are correct ? 

  5. Consider the following statements :

    1. n3 - n is divisible by 6.

    2. n- n is divisible by 5.

    3. n5 - 5n3 + 4n is divisible by 120.

    Which of the statements given above are correct ? 

  6. How many numbers from 1 to 1000 are divisible by 2, 3, 4 and 5?

  7. What is the maximum value of m, if the number N = 90 × 42 × 324 × 55 is divisible by 3m?

  8. 710 − 510  is divisible by

  9. What is the remainder when 2 100 is divided by 101?

  10. 4x 3 + 12x 2 - x - 3 is divisible by


Important Questions from Divisibility and Remainder

  1. What is the sum of the digits of the least number which when divided by 12, 16 and 20 leaves the same remainder 6 in each case and it is divisible by 9?

  2. As nine-digit number 89563x87y is divisible by 72. What is the value of \(\sqrt{7x-3y}\)  ?

  3. The greatest number that on dividing 2675 and 2320 leaves the reminder 5 and 6 ,respectively is : 

  4. Find the greatest number that exactly divides 2880, 6525 and 8307.

  5. If a 10 - digit number 643x1145y2 is divisible by 88, then the value of (2x - 3y) for the largest value of y is :

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
CDS img
Defence
UPSC CDS 2026 Mock Test Series
540 Tests 4 Tests Free
1135 Attempts
4.3(168)
English, Hindi
More Questions from CDS

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App