Bernardo and Ogechi were asked to find an explicit formula for the sequence 1\,,\,8\,,\,64\,,\,512,...1,8,64,512,...1, comma, 8,
comma, 64, comma, 512, comma, point, point, point.
Bernardo said the formula is h(n)=1\cdot8^{\large{n}}h(n)=1⋅8
n
h, left parenthesis, n, right parenthesis, equals, 1, dot, 8, start superscript, n, end superscript, and
Ogechi said the formula is h(n)=8\cdot1^{\large{n}}h(n)=8⋅1
n
h, left parenthesis, n, right parenthesis, equals, 8, dot, 1, start superscript, n, end superscript.
Which one of them is right?