if a1=3
an=12,288
r=4

find the value of n​