Computer Science, asked by krrishvaliramani12, 1 year ago

Ganerate the
serise 2,4,8,14,22,32,44,....n
nis the
input by the user. in java​

Answers

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
0

All the odd terms in this series form a geometric series.

All the even terms form yet another geometric series.

The approach to solving the problem is quite simple. The odd positioned terms in the given series form a GP series with first term = 1 and common ration = 2. Similarly, the even positioned terms in the given series form a GP series with first term = 1 and common ration = 3.

Similar questions