Example 27 : Find the smallest perfect square divisible by 3