A 3-digit decimal (base ten) Palindrome P is such that when expressed in base N, with N being a positive integer between 2 and 36 inclusively (base 10 excluded), at least one of them is also a palindrome.
M denotes the total count of such non base ten palindrome for a given value of decimal palindrome P.
Which value or values of P maximises the value of M?