Help for this page
Select Code to Download
Select
or
download this
foreach my $n (@ARGV) { print($n*($n+1)/2, "\n"); }