UPSC PYQPrelims 2024

Civil Services Examination · Question 10

On January 1st, 2023, a person saved ₹ 1. On January 2nd, 2023, he saved ₹ 2 more than that on the previous day. On January 3rd, 2023, he saved ₹ 2 more than that on the previous day and so on. At the end of which date was his total savings a perfect square as well a perfect cube?

  1. 7th January, 2023

  2. 8th January, 2023

  3. 9th January, 2023

  4. Not possible

Show answer & explanationShow explanation

Answer: (B) 8th January, 2023

Explanation

Given / Concept: Daily savings are ₹ 1, ₹ 3, ₹ 5, ₹ 7, … (an AP of odd numbers). The sum of the first n odd natural numbers is S_n = n². Condition for Square and Cube: Total savings after n days is S_n = n², which is always a perfect square. For n² to also be a perfect cube, n must be a perfect cube. Find n: Taking the smallest cube > 1, n = 2³ = 8 ⇒ S_8 = 8² = 64 = 4³ (both a perfect square and a perfect cube). Result: Day 8 corresponds to 8th January, 2023. Shortcut: A number that is both a square and a cube is a 6th power (k⁶); for k = 2, S_n = 2⁶ = 64 = 8², so n = 8 (8th Jan). Correct Answer: (b) 8th January, 2023

Diagram explaining the answer