pub fn is_palindrome(n: usize, a: usize) -> bool
自然数 n を a 進数とみなしたとき,回文数であるか判定する.
n
a
a = 0
a = 1
true