Computer Science, asked by nikithabadam2001, 3 months ago

Avanthika is weak in the concepts of number series. She is given a number L and has to find L terms of the series.

The series is as follows

1, 2, 5, 8,15. . . .

Answers

Answered by adityas0201
1

Input:

N = 8

Output:

1 2 5 8 15 28 51 94

Explanation:

For N = 8, series comes out to be:

1 2 5 8 15 28 51 94

PLZ MAKE ME A BRANLIST...!!!

Similar questions