Gaußsche Summenformel 1 + 2 + 3 + 4 + ..+ n = 1/2 * n * (n+1) 12 => 78 ruby def gauss(n) n*(n+1)/2 end