Digits CSAT PYQs (2015–2025) with Solutions

Digits is a Maths topic in UPSC CSAT Paper II. This page carries all 37 Digits questions UPSC has asked between 2015 and 2025, each with the official answer and a full solution. It sits under Basic Numeracy in the syllabus. Read them here without an account, or practise the same set with instant feedback once you sign in.

Digits questions with answers

  1. What is the unit digit in the multiplication of 1 × 3 × 5 × 7 × 9 × . . . × 999 ?

    1. 1
    2. 3
    3. 5
    4. 9

    Answer: C · CSAT 2025

    Solution. Method I: The given expression: 1 × 3 × 5 × 7 × 9 × ... × 999 1 × 3 × 5 × 7 × 9 = 945 So, the unit digit is 5. Similarly, the unit digit of the product 11 × 13 × 15 × 17 × 19 would also be 5. Same would be the case for each such set, i.e. (21 × 23 × 25 × 27 × 29), .......... 991 × 993 × 995 × 997 × 999. So, basically, we will get 5 × 5 × 5 × ..... × 5 Unit digit of the product 5 × 5 × 5 × ..... × 5 would also be 5. Method II: The given expression: 1 × 3 × 5 × 7 × 9 × ... × 999 We can see that there is 5 in the multiplication. Multiplication rule of 5: (i) If you multiply an odd number by 5, the product will always end in 5. Example: (3 × 5 = 15), (7 × 5 = 35), ..... etc. (ii) If you multiply an even number by 5, the product will always end in 0. Example: (4 × 5 = 20), (6 × 5 = 30), ..... etc. In the given expression, only odd numbers are being multiplied. So, the final product's unit digit must be 5.
  2. Let PQR be a 3-digit number, PPT be a 3-digit number and PS be a 2-digit number, where P, Q, R, S, T are distinct non-zero digits. Further, PQR – PS = PPT . If Q = 3 and T < 6, then what is the number of possible values of (R, S) ?

    1. 2
    2. 3
    3. 4
    4. More than 4

    Answer: B · CSAT 2025

    Solution. PQR - PS = PPT Or 100P + 10Q + R - 10P - S = 100P + 10P + T Or 30 + R - S = 20P + T (as Q = 3) Or R - S = 20P + T - 30 Now, T < 6. So, T can be 1, 2, 4, or 5. It cannot be 3, as we already know that Q = 3. If T = 1, R - S = 20P - 29 If T = 2, R - S = 20P - 28 If T = 4, R - S = 20P - 26 If T = 5, R - S = 20P - 25 As R and S are distinct non-zero digits, their difference cannot be more than 8 (as 9 - 1 = 8). So, -8 ≤ R - S ≤ 8 It's only possible is P = 1. If P = 2 or more, then R - S would become more than 8. It also means that R and S cannot be 1 or 3. So, we get: 13R - 1S = 11T The only possible cases are: If R = 2: 132 - 18 = 114 132 - 17 = 115 If R = 4: 134 - 19 = 115 In all other cases, we will not get T < 6. So, the number of possible values of (R, S) is 3.
  3. If N² = 12345678987654321, then how many digits does the number N have ?

    1. 8
    2. 9
    3. 10
    4. 11

    Answer: B · CSAT 2025

    Solution. Let's look at the pattern of squares of numbers consisting only of ones: 1² = 1 (1 digit in N, 1 digit in N², highest digit in N² is 1) 11² = 121 (2 digits in N, 3 digits in N², highest digit in N² is 2) 111² = 12321 (3 digits in N, 5 digits in N², highest digit in N² is 3) 1111² = 1234321 (4 digits in N, 7 digits in N², highest digit in N² is 4) 11111² = 123454321 (5 digits in N, 9 digits in N², highest digit in N² is 5) and so on. In our case, N² = 12345678987654321. The highest digit in the sequence is 9, and the number of digits in it is 17. This means that N must be a number consisting of nine '1's. So, N = 111,111,111. Thus, the number N has 9 digits.
  4. What is the 489th digit in the number 123456789101112 . . . ?

    1. 0
    2. 3
    3. 6
    4. 9

    Answer: D · CSAT 2025

    Solution. First 9 digits: 1, 2, 3, ....., 9 Next 180 digits = 10 to 99 So, remaining digits = 489 - 189 = 300, which all will be formed using 3-digit numbers. So, the number of 3-digit numbers to be used = (300)/(3) = 100 Hence, the next 100 numbers forming the subsequent 300 digits must be: 100, 101, 102, ...., 199. It's evident that the last digit is 9.
  5. The 5-digit number PQRST (all distinct digits) is such that T ≠ 0. P is thrice T. S is greater than Q by 4, while Q is greater than R by 3. How many such 5-digit numbers are possible ?

    1. 3
    2. 4
    3. 5
    4. 6

    Answer: B · CSAT 2025

    Solution. P = 3T and T is not 0. Also, S - Q = 4, and Q - R = 3 So, S - R = 7 Also, R < Q < S If T = 1, P = 3: PQRST = 3QRS1 Possible numbers are: 35291 If T = 2, P = 6: PQRST = 6QRS2 Possible numbers are: 64182, 63072 If T = 3, P = 9: PQRST = 9QRS3 Possible numbers are: 94183 Thus, there are four such 5-digit numbers. (We cannot take T = 4 or more, as then P will become a 2-digit number.)
  6. How many consecutive zeros are there at the end of the integer obtained in the product 1² × 2⁴ × 3⁶ × 4⁸ × ··· × 25⁵⁰?

    1. 50
    2. 55
    3. 100
    4. 200

    Answer: D · CSAT 2024

    Solution. We get a zero when we get 10, which in turn is obtained when 2 and 5 are multiplied. The number of zeroes will depend on whichever is less in number from among 2 and 5. In the given product 1² × 2⁴ × 3⁶ × 4⁸ × … × 25⁵⁰, we can deduce that 2 is definitely more in number than 5. So, the number of zeroes at the end will be equal to the number of 5's in the given product. The number of 5's in the given expression are: - 5¹⁰ → 10 - 10²⁰ → 20 - 15³⁰ → 30 - 20⁴⁰ → 40 - 25⁵⁰ → 100 So, the number of zeroes at the end of the product = 10 + 20 + 30 + 40 + 100 = 200
  7. Consider the following statements in respect of the sum S = x + y + z, where x, y and z are distinct prime numbers each less than 10 : 1. The unit digit of S can be 0. 2. The unit digit of S can be 9. 3. The unit digit of S can be 5. Which of the statements given above are correct?

    1. 1 and 2 only
    2. 2 and 3 only
    3. 1 and 3 only
    4. 1, 2 and 3

    Answer: C · CSAT 2024

    Solution. x, y and z are distinct prime numbers less than 10. So, these numbers can be 2, 3, 5, or 7. S = x + y + z - S = 2 + 3 + 5 = 10 (statement 1) - S = 3 + 5 + 7 = 15 (statement 3) So, (2, 3, 5) and (3, 5, 7) satisfy conditions 1 and 3 respectively. However, statement 2 is not true for these given sets of numbers.
  8. Let X be a two-digit number and Y be another two-digit number formed by interchanging the digits of X. If (X + Y) is the greatest two-digit number, then what is the number of possible values of X?

    1. 2
    2. 4
    3. 6
    4. 8

    Answer: D · CSAT 2024

    Solution. Let X = 10a + b and Y = 10b + a (interchanging the digits of X) Greatest two-digit number = 99 According to the question, X + Y = 99 Or 10a + b + 10b + a = 99 Or 11a + 11b = 99 Or 11(a + b) = 99 Or a + b = 9 Possible values of a and b: - a | b - 1 | 8 - 2 | 7 - 3 | 6 - 4 | 5 - 5 | 4 - 6 | 3 - 7 | 2 - 8 | 1 Value of X can be anything between 1 to 8.
  9. What is the number of fives used in numbering a 260-page book?

    1. 55
    2. 56
    3. 57
    4. 60

    Answer: B · CSAT 2024

    Solution. From 1 to 100, 5 comes 20 times. Similarly, from 101 to 200, 5 comes 20 times. Similarly, from 201 to 300, 5 comes 20 times. So, we just need to check the numbers after 260. Such numbers having 5 are 265, 275, 285, 295 i.e. 4 numbers. So, the number of 5's used from 1 to 260 = (20 + 20 + 20) - 4 = 56
  10. If the sum of the two-digit numbers AB and CD is the three-digit number 1CE, where the letters A, B, C, D, E denote distinct digits, then what is the value of A?

    1. 9
    2. 8
    3. 7
    4. Cannot be determined due to insufficient data

    Answer: A · CSAT 2024

    Solution. Case 1: There's no carry over from B+D A + C = 1C Or A + C = 10 + C Or A = 10 (not possible) Case 2: There's carry over 1 from B+D A + C + 1 = 1C Or A + C + 1 = 10 + C Or A = 9
  11. If ABC and DEF are both 3-digit numbers such that A, B, C, D, E and F are distinct non-zero digits such that ABC + DEF = 1111, then what is the value of A + B + C + D + E + F ?

    1. 28
    2. 29
    3. 30
    4. 31

    Answer: D · CSAT 2023

    Solution. ABC + DEF = 1111, wherein A, B, C, D, E, and F are distinct non-zero digits. We may get a resultant of 1111 if: C + F = 11, say 2 + 9 = 11 B + E = 10, say 3 + 7 = 10 A + D = 10, say 4 + 6 = 10 We can double check this by adding 432 + 679 = 1111 So, A + B + C + D + E + F = 4 + 3 + 2 + 6 + 7 + 9 = 31 Hence, option (d) is correct.
  12. D is a 3-digit number such that the ratio of the number to the sum of its digits is least. What is the difference between the digit at the hundred's place and the digit at the unit's place of D ?

    1. 0
    2. 7
    3. 8
    4. 9

    Answer: C · CSAT 2023

    Solution. Let the three-digit number be XYZ. This number is such that (100X + 10Y + Z)/(X + Y + Z) is the least possible. For 100, this ratio is (100)/(1) = 100 For 101, this ratio is (101)/(2) = 50.5 For 109, this ratio is (109)/(10) = 10.9 For 110, this ratio is (110)/(2) = 55 For 119, this ratio is (119)/(11) = 10.81 For 129, this ratio is (129)/(12) = 10.75 So, we can see that in 100-199 range, this ratio will be the least for 199, which is (199)/(19) = 10.47 Similarly, in 200-299 range, this ratio will be the least for 299, which is (299)/(20) = 14.95 Similarly, in 300-399 range, this ratio will be the least for 399, which is (399)/(21) = 19 We can see this ratio is slowly increasing. For 999, it would be (999)/(27) = 37 So, this ratio is the least for 199. The difference between the digit at the hundred's place and the digit at the unit's place = 9 - 1 = 8 Hence, option (c) is correct.
  13. A 3-digit number ABC, on multiplication with D gives 37DD where A, B, C and D are different non-zero digits. What is the value of A + B + C ?

    1. 18
    2. 16
    3. 15
    4. Cannot be determined due to insufficient data

    Answer: A · CSAT 2023

    Solution. It's given that, ABC × D = 37DD Wherein A, B, C and D are different non-zero digits. So, ABC = (37DD)/(D) = (3700 + 10D + D)/(D) = (3700)/(D) + 11 The possible values of D, such that ABC is an integer, are 1, 2, 4, and 5. If D = 1, ABC = 3700 + 11 = 3711. It can be rejected as ABC is a three-digit number. If D = 2, ABC = 1850 + 11 = 1861. It can be rejected as ABC is a three-digit number. If D = 5, ABC = 740 + 11 = 751. It can be rejected as here B = D = 5. If D = 4, ABC = 925 + 11 = 936. So, A + B + C = 9 + 3 + 6 = 18 Hence, option (a) is correct.
  14. Each digit of a 9-digit number is 1. It is multiplied by itself. What is the sum of the digits of the resulting number ?

    1. 64
    2. 80
    3. 81
    4. 100

    Answer: C · CSAT 2023

    Solution. Method I: 11 × 11 = 121 111 × 111 = 12321 1111 × 1111 = 1234321 Following the same pattern, we get: (1111 … 9 times) × (1111 … 9 times) = 12345678987654321 Sum of the digits of the resulting number = 2 × (1 + 2 + 3 + … + 8) + 9 = 2 × [(8 × 9)/(2)] + 9 = 72 + 9 = 81 [ Sum of first n natural numbers = (n(n + 1))/(2) ] Hence, option (c) is correct. Method II: Since each digit of a 9-digit number is 1, so the sum of its digits = 9. So, this number is divisible by 9. Any multiple of such a number will also be divisible by 9. So, the sum of the digits of the resulting number of the multiplication (111111111) × (111111111) must also be divisible by 9. Therefore, the correct answer will be the option which is a multiple of 9, i.e. 81. Hence, option (c) is correct.
  15. What is the sum of all digits which appear in all the integers from 10 to 100 ?

    1. 855
    2. 856
    3. 910
    4. 911

    Answer: B · CSAT 2023

    Solution. We have to find the sum of all the digits of the numbers from 10 to 100. Let's leave aside 100 for now. We are left with 9 sets of 10 numbers each. 10, 11, ..... 19 20, 21, ..... 29 ... 90, 91, ..... 99 Counting Units Digits Sum of unit digits of each of these 9 sets = 0 + 1 + 2 + … + 9 = (9 × 10)/(2) = 45 [ Sum of first n natural numbers = (n(n + 1))/(2) ] So, sum of all the unit digits of the 9 sets = 45 × 9 = 405 Counting Tens Digits Let's count the tens digits of 10, 20, 30 ..., 90, and then 11, 21, 31, ..., 91, and so on. Sum of tens digits of 10, 20, 30 ..., 90 = 1 + 2 + 3 + … + 9 = (9 × 10)/(2) = 45 So, sum of all the tens digits = 45 × 10 = 450 So, the sum of all the digits of the numbers from 10 to 100 = 405 + 450 + 1 = 856 Hence, option (b) is correct.
  16. Let pp, qq and rr be 2-digit numbers where p < q < r. If pp + qq + rr = tt0, where tt0 is a 3-digit number ending with zero, consider the following statements : 1. The number of possible values of p is 5. 2. The number of possible values of q is 6. Which of the above statements is/are correct ?

    1. 1 only
    2. 2 only
    3. Both 1 and 2
    4. Neither 1 nor 2

    Answer: C · CSAT 2023

    Solution. tt0 is a 3-digit number ending with zero, such that pp + qq + rr = tt0 As pp, qq, and rr are 2-digit numbers, the value of tt0 can be either 110 or 220. Thus, we get: If tt0 = 110 pp + qq + rr = 110 or (10p + p) + (10q + q) + (10r + r) = 110 or 11p + 11q + 11r = 110 or p + q + r = 10 ....... (1) If tt0 = 220 pp + qq + rr = 220 or (10p + p) + (10q + q) + (10r + r) = 220 or 11p + 11q + 11r = 220 or p + q + r = 20 ....... (2) Statement 1: As p < q < r, the possible value of p in equation (1) can be 1 and 2. As p < q < r, the possible value of p in equation (2) can be 1, 2, 3, 4 and 5. Hence, the number of possible values of p is 5. Thus, Statement 1 is correct. Statement 2: As p < q < r, the possible value of q in equation (1) can be 2, 3 and 4. As p < q < r, the possible value of q in equation (2) can be 6, 7 and 8. Hence, the number of possible values of q is 6. Thus, Statement 2 is correct. Hence, option (c) is correct.
  17. AB and CD are 2-digit numbers. Multiplying AB with CD results in a 3-digit number DEF. Adding DEF to another 3-digit number GHI results in 975. Further A, B, C, D, E, F, G, H, I are distinct digits. If E = 0, F = 8, then what is A + B + C equal to ?

    1. 6
    2. 7
    3. 8
    4. 9

    Answer: A · CSAT 2023

    Solution. As per the question, AB × CD = DEF ...... (i) And, DEF + GHI = 975 ...... (ii) Also, E = 0, and F = 8 So, equation (ii) can also be written as, D08 + GHI = 975 Let's consider the given sum, i.e. D08 + GHI = 975 At unit's place of the resulting sum we have 5. This is possible only if I = 7. 8 + 7 = 15. So, we will get a carry of 1. Now, 1 + 0 + H = 7 Or H = 6 Now, D + G = 9. This can be obtained in following ways: 9 + 0, 8 + 1, 7 + 2, 6 + 3, 5 + 4 Since, value of E is 0, therefore 9 + 0 can be eliminated. Since value of F is 8, therefore 8 + 1 can be eliminated. Since value of I is 7, therefore 7 + 2 can be eliminated. Since value of H is 6, therefore 6 + 3 can be eliminated. Therefore, the values of D and G must be 4 or 5. Let's consider the given sum, i.e. D08 + GHI = 975, again. If D = 4 and G = 5, 408 + 567 = 975 If D = 5 and G = 4, 508 + 467 = 975 Now, considering equation (i). If D = 5, AB × C5 = 508. This is not possible, as on multiplying any number that has 5 as unit's digit, with any other number, we get either 0 or 5 as the unit's digit in the resultant number. If D = 4, AB × C4 = 408. This is possible. So, D = 4, and G = 5. Let's list down the digits: A = ? B = ? C = ? D = 4 E = 0 F = 8 G = 5 H = 6 I = 7 Now, we are only left with the digits 1, 2, 3, and 9. Analyzing AB × C4 = 408, we can see that 12 × 34 = 408 Therefore, A + B + C = 1 + 2 + 3 = 6 Hence, option (a) is correct.
  18. Let A, B and C represent distinct non-zero digits. Suppose x is the sum of all possible 3-digit numbers formed by A, B and C without repetition. Consider the following statements : 1. The 4-digit least value of x is 1332. 2. The 3-digit greatest value of x is 888. Which of the above statements is/are correct?

    1. 1 only
    2. 2 only
    3. Both 1 and 2
    4. Neither 1 nor 2

    Answer: A · CSAT 2022

    Solution. The three-digit numbers have been represented by ABC, wherein A, B, and C are non-zero digits. Using 3 distinct digits we can make 3 × 2 × 1 = 6 three-digit numbers. So, x will be the sum of these 6 three-digit numbers. We need to find the two values of x closest to 1000, one just below it (which will be the greatest 3-digit value of x), and the other just above it (which will be the lowest 4-digit value of x). Now, we have to do a bit of hit and try, so that the value of x reaches close to 1000. Let the three digits be the minimum possible ones, i.e. 1, 2, and 3. So, we get x = 123 + 132 + 213 + 231 + 312 + 321 = 1332 This is the least possible value of x. So, statement 1 is correct, but statement 2 is incorrect.
  19. Let p be a two-digit number and q be the number consisting of same digits written in reverse order. If p × q = 2430, then what is the difference between p and q?

    1. 45
    2. 27
    3. 18
    4. 9

    Answer: D · CSAT 2022

    Solution. p is a two-digit number, and q is the number consisting of the same digits in the reverse order. It's given that, p × q = 2430 The last digit of the product is 0, which indicates that one two of the digits must be 5. Let the remaining digit be x. So, p = x5 = x × 10 + 5 = 10x + 5 Reverse number, q = 5x = 5 × 10 + x = 50 + x According to the question, (10x + 5) × (50 + x) = 2430 Or 500x + 10x² + 250 + 5x = 2430 Or 10x² + 505x - 2180 = 0 Or 2x² + 101x - 436 = 0 Or x(2x + 109) - 4(2x + 109) = 0 Or (x - 4)(2x + 109) = 0 Or x = 4, or -(109)/(2) (can be neglected) So, x = 4 Therefore, p = x5 = 45 And q = 54 Required difference = 54 - 45 = 9
  20. Integers are listed from 700 to 1000. In how many integers is the sum of the digits 10 ?

    1. 6
    2. 7
    3. 8
    4. 9

    Answer: D · CSAT 2021

    Solution. Here we have to find out all the integers between 700 to 1000, in which sum of the digits is 10, e.g. 703 gives 7 + 0 + 3 = 10 These numbers have been listed below: 703, 712, 721, 730, 802, 811, 820, 901 and 910 Hence, there are 9 such integers in which the sum of the digits is 10. Hence, option (d) is the correct answer.

Page 1 of 2 · 37 questions in all. Sign in to practise the set with instant feedback.

Digits by year

More Maths topics

All CSAT PYQ topics