I need to prove that in a string with a number of characters n, at most n distinct, non-empty palindromic substrings are possible. I can understand that this is because every character can be a palindrome in and of itself, and so the max possible number of substrings possible is going to be equal to the number of characters in the string. However, I cannot seem to express this in the form of mathematical proof. How can I do so?