@@ -0,0 +1,135 @@
+public class Solution %7B%0A    public boolean isPowerOfThree(int n) %7B%0A        return n%3E0 && Math.log10(n)/Math.log10(3) %25 1 == 0;%0A    %7D%0A%7D%0A

Given an integer, write a function to determine if it is a power of three.