find first six base 2 and base 3 palindrome numbers