Next number of the sequence 5,6,9,18,13,54,17,162,21,....will be