The function should have a second argument, an integer B>1. It would check whether the number is a palindrome in base B.
17
11
1