What is the next number?

77, 49, 36, 18 ?

The next one is 8
77 : 7*7 = 49
49 : 4*9 = 36
36 : 3*6 = 18
18 : 1*8 = 8