n+2
2n+5
80 + n^2
31 plus n
-8 + 13/N, where N ≠0.
4*(n + 2)
The odd numbers 1 3 5 7 are increased by 11 each time While the even numbers 2 4 6 are halved each time. I guess you could write the sequence like this: S(n) = If n odd, then (n+3)*11; If n even, then n/2
+2
18 + n*(-2) = 18 - 2n
ab increased by 2
11 + (n/2) = 77 Subtract 11 from both sides: n/2 = 66 Multiply both sides by 2: n = 132
6 < n/2
In C, you can write 2n by using the multiplication operator. If n is a variable of an integer type, you would write it as 2 * n. For example, if n is defined as an integer, you can define it as follows: int n = 5; // or any integer value int result = 2 * n; // result will be 10 if n is 5