For each integer find the maximum of fucntion
for and every to which it's taken
Substituting x=1 you will see that,
Also observe that,
Therefore, x=1 is an inflection point and,
It could be shown that at x=1 is a maximum by considering the second derivative (the calculation of is terrible ).
Therefore, at x=1 the function has a maximum and