[1,3,-1,9,-6,1,27,-27,9,-1,81,-108,54,-12,1,243, -405,270,-90,15,-1,729,-1458,1215,-540,135,-18,1, 2187,-5103,5103,-2835,945,-189,21,-1,6561,-17496, 20412,-13608,5670,-1512,252,-24,1,19683,-59049, 78732,-61236,30618,-10206,2268,-324,27,-1]