Write down the nth term of the following sequence
the following pattern are made using small squares

Answer:
a) [tex]n = 4 + 7\cdot i[/tex], [tex]\forall\, i \in \mathbb{N}_O[/tex], b) [tex]n = 2 + (i+1)^{2}[/tex], [tex]\forall \,i\in \mathbb{N}_{O}[/tex]
Step-by-step explanation:
a) The sequence is representative for an arithmetic sequence, whose key characteristic is that difference is between two consecutive elements is the same. In particular, the sequence has a difference of 7 between any two consecutive elements and the initial element is 4. Hence, we can derive the following formula:
[tex]n = n_{o} + r\cdot i[/tex], [tex]\forall\, i \in \mathbb{N}_O[/tex] (1)
Where:
[tex]n_{o}[/tex] - Initial element.
[tex]r[/tex] - Difference between two consecutive elements.
[tex]i[/tex] - Index.
If we know that [tex]n_{o} = 4[/tex] and [tex]r = 7[/tex], then the expression for the n-th term of the sequence is:
[tex]n = 4 + 7\cdot i[/tex], [tex]\forall \,i\in\mathbb{N}_{O}[/tex]
b) In this case, we have a geometric sequence described by the following equation:
[tex]n = 2 + (i+1)^{2}[/tex], [tex]\forall \,i\in \mathbb{N}_{O}[/tex] (2)
The constant element ([tex]2[/tex]) represents the two extreme squares, whereas the second order binomial represents the total of squares in the middle ([tex](i+1)^{2}[/tex]) and emulates the area formula of the square.