Placement AptitudeHardTCS NQT · Infosys
The number N = 123456789101112…3940 is formed by writing the integers from 1 to 40 one after another. What is the remainder when N is divided by 8?
- A. 0
- B. 2
- C. 4
- D. 6
Correct answer: C. 4
Divisibility by 8 depends only on the last three digits. N ends in …3940, so its last three digits are 940, and 940 = 8 × 117 + 4. Remainder 4 (looking at only the last two digits, 40, wrongly gives 0).
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many divisors of 2⁴ × 3³ are multiples of 6 but not of 12?
- The sum of two numbers is 1215 and their HCF is 81. How many such pairs of numbers are there?
- What is the smallest number greater than 100 that leaves remainder 6 when divided by 11 and remainder 5 when divided by 7?
- For how many two-digit numbers is the sum of the number and its reverse a perfect square?
- What is the 100th digit after the decimal point in the decimal expansion of 1/7?
- What is the unit digit of 3¹ + 3² + 3³ + … + 3²⁰²⁶?