190k views
5 votes
Help asap !!!!!!!!!!!!

Help asap !!!!!!!!!!!!-example-1
User Gokan
by
6.3k points

1 Answer

0 votes

Input values are 2,4,6,8 and so on

Input -- > process column --> Output

1 --> 1 * 2 --> 2

2 --> 2*2 --> 4

3 --> 3* 2 --> 6

4 --> 4*2 --> 8

n --> n * 2 --> 2n

In this pattern 2,4,6,8... common difference is 2

If we have common difference d, then use formula an = a+(n-1)d

where a is the first term ( a= 2)

d is the common difference ( d= 2)

So formula is
a_n = 2+ (n-1) *2 =
2 + 2n -2 = 2n

Formula to find nth term is 2n

User JyoonPro
by
5.3k points