QlarIITy

MathematicsJEE Main 2023 · 24 JanuaryInteger

If13+23+33+…upto n terms1⋅3+2⋅5+3⋅7+…upto n terms=95\frac{1^3 + 2^3 + 3^3 + \ldots \text{upto } n \text{ terms}}{1 \cdot 3 + 2 \cdot 5 + 3 \cdot 7 + \ldots \text{upto } n \text{ terms}} = \frac{9}{5}then the value of nn is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Sums of powers of natural numbers share a common factor that cancels in a ratio.

Concept refresher. For the first nn natural numbers, ∑k3=n2(n+1)24\sum k^3 = \dfrac{n^2(n + 1)^2}{4}, ∑k=n(n+1)2\sum k = \dfrac{n(n + 1)}{2} and

∑k2=n(n+1)(2n+1)6\sum k^2 = \dfrac{n(n + 1)(2n + 1)}{6}

Picture the situation. The numerator is the sum of the first n cubes. The denominator multiplies each natural number by an odd number, 1 times 3, 2 times 5, 3 times 7, so its general term is a quadratic. Both sums have closed forms sharing the factor n times n plus 1, so the ratio simplifies sharply.

Approach. Write both sums in closed form, cancel the common factor, and solve the quadratic.

  1. Step 1: The two sums

    The numerator is n2(n+1)24\dfrac{n^2(n + 1)^2}{4}. The denominator is

    ∑k(2k+1)=2∑k2+∑k=n(n+1)(4n+5)6\begin{aligned} \sum k(2k + 1) &= 2\sum k^2 + \sum k \\[4pt] &= \dfrac{n(n + 1)(4n + 5)}{6} \end{aligned}
  2. Step 2: The equation

    Cancelling n(n+1)n(n + 1), the ratio is 3n(n+1)2(4n+5)=95\dfrac{3n(n + 1)}{2(4n + 5)} = \dfrac{9}{5}, which gives 5n2−19n−30=05n^2 - 19n - 30 = 0. The roots are 19±3110\dfrac{19 \pm 31}{10}, and the positive one is n=5n = 5.

Answer. 5

Sanity check. For n=5n = 5 the cubes add to 225 and the products to 3+10+21+36+55=1253 + 10 + 21 + 36 + 55 = 125, and 225125=95\dfrac{225}{125} = \dfrac{9}{5}.

Common wrong answers

  • 6: Taking the roots as 19±4110\dfrac{19 \pm 41}{10}, from a slip in the discriminant, gives n=6n = 6; the discriminant is 31231^2.

Key takeaway

The trap. The odd factor multiplying each number is one more than twice that number.

How toppers think. They verify the result by adding the five terms of each sum directly.

Remember. ∑k3=n2(n+1)24\sum k^3 = \dfrac{n^2(n + 1)^2}{4}

More on Special Series