Arithmetic Sequenceshard
0:00.0

In an arithmetic sequence, if a1=1a_1=1 and the sum of the first nn terms is Sn=n2S_n = n^2, find the nthn^{th} term ana_n.