we are given a recurrence:
an = (an−1)(an−2)^3 for n > 2
we're also given a2 = 2
we are not directly told a1, so we’ll test the available answer choices for a3 and a5 and work backwards
start by testing a3 options
try a3 = 8
then a3 = (a2)(a1)^3
8 = (2)(a1)^3
so (a1)^3 = 4 → a1 = cube root of 4, which is not an integer → eliminate
try a3 = 16
16 = (2)(a1)^3
(a1)^3 = 8 → a1 = 2
this is valid
so if a1 = 2, a2 = 2, a3 = 16
compute a4 = (a3)(a2)^3 = 16 × 8 = 128
a5 = (a4)(a3)^3 = 128 × (16)^3
16^3 = 4096
a5 = 128 × 4096 = 524288
not among options → eliminate
try a3 = 4
4 = 2 × (a1)^3 → (a1)^3 = 2 → not an integer → eliminate
try a3 = -8
-8 = 2 × (a1)^3 → (a1)^3 = -4 → a1 not integer → eliminate
try a3 = -2
-2 = 2 × (a1)^3 → (a1)^3 = -1 → a1 = -1
possible
a1 = -1, a2 = 2, a3 = -2
a4 = a3 × (a2)^3 = -2 × 8 = -16
a5 = a4 × (a3)^3 = -16 × (−2)^3 = -16 × (−8) = 128
a5 = 128 is in the list
final selections:
a3 = -2
a5 = 128