go 1.21, clean code
```golang []
func primePalindrome(n int) int {
	for {
		if isPalindrome(n) && isPrime(n) {
			return n
		}
		n++
		if 10_000_000 < n && n < 100_000_000 {
			n = 100_000_000
		}
	}
}

func isPalindrome(x int) bool {
	s := strconv.Itoa(x)
	for i, j := 0, len(s)-1; i < j; i, j = i+1, j-1 {
		if s[i] != s[j] {
			return false
		}
	}
	return true
}

func isPrime(x int) bool {
	if (x < 2) || (x > 2 && x%2 == 0) {
		return false
	}
	for i := 3; i*i <= x; i += 2 {
		if x%i == 0 {
			return false
		}
	}
	return true
}
```
['Go']