Placement AptitudeHardTCS NQT · Infosys
What is the remainder when 1² + 2² + 3² + … + 100² is divided by 9?
- A. 1
- B. 4
- C. 7
- D. 0
Correct answer: B. 4
The sum is 100 × 101 × 201/6 = 338350, whose digit sum is 22, so it leaves 4 on division by 9. (Mod 9 directly: 50 × 101 × 67 ≡ 5 × 2 × 4 = 40 ≡ 4.)
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many zeros are there at the end of the product of all the even numbers from 2 to 100 (2 × 4 × 6 × … × 100)?
- How many three-digit numbers contain the digit 5 exactly once?
- The sum of the present ages of a father and his son is 60 years. Six years ago, the father was five times as old as the son. How old will…
- A vessel holds 80 litres of a 40% acid solution. 20 litres are taken out and replaced with pure acid; then 20 litres of the new mixture…
- Pipes A and B can fill a tank in 6 and 8 hours, and pipe C can empty it in 12 hours. All three are opened on the empty tank, and C is…
- A and B can do a job in 15 days, B and C in 20 days, and C and A in 12 days. How long would B alone take?