0 39 24 63 () to find the law What is the number in the last bracket?

0 39 24 63 () to find the law What is the number in the last bracket?

0 3 9 24 63 (165 )
3×3-0=9
9×3-3=24
24×3-9=63
63×3-24=165