Editorial for Suma n-tog reda neparnih
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Suma prvih \(n\) neparnih brojeva je \(n^2\).
U prvih \(n\) redova ima \(\frac{n(n+1)}{2}\) brojeva.
Suma prvih \(n\) redova je \(S(n) = \left(\frac{n(n+1)}{2}\right)^2\).
Suma \(n\) tog reda je \(S(n) - S(n-1)\) što je \(n^3\).
Comments