Donat un natural n pel canal d’entrada,
feu un programa que escrigui per la sortida estàndard
la següent seqüència:
n
∑
i = 1
i,
n−1
∑
i = 1
i,
n−2
∑
i = 1
i, …, 1
Entrada
Un natural n.
Sortida
La seqüència:
n
∑
i = 1
i,
n−1
∑
i = 1
i,
n−2
∑
i = 1
i, …, 1
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.