Sum 5#9974

Sum 5

1 saniye
64 megabayt
Çok kolay

Calculate the sum of the first terms in the sequence: 1 + 3 + 9 + 27 + 81 + \ldots

Giriş

A natural number , where 1 \leq n \leq 39.

Çıktı

A single number representing the sum of the first terms of the sequence.

Örnekler

Örnek 1

Loading
Loading