Olympiad Maths Prep

Track / Stage 4 / 150 of 340 #410 of 2000

Problem 410

AMC 12 late, AIME early
Algebra Difficulty 4.8 Find the answer

1. Let the sequence {an}={1,2,2,3,3,3,,k,k,,k,}\left\{a_{n}\right\}=\{1,2,2,3,3,3, \cdots, k, k, \cdots, k, \cdots\}, where each positive integer kk appears kk times. Find the general term formula for {an}\left\{a_{n}\right\} and the sum of the first nn terms SnS_{n}.

Official solution

( Answer: an=[1+8n7]2],Sn=kn16k(k+1)(k1),k=[1+8n72])\begin{array}{l}\left(\text { Answer: } a_{\mathrm{n}}=\left[\frac{1+\sqrt{8 n-7}]}{2}\right], S_{\mathrm{n}}=k n-\frac{1}{6} k(k\right. \\ \left.+1)(k-1), k=\left[\frac{1+\sqrt{8 n-7}}{2}\right]\right)\end{array}

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.