Integer point of local extremum not implies point of local extremum among integers

From Calculus

Statement

It is possible to have a continuous function (in fact, we can choose to be a polynomial function) and an integer such that all these hold:

Related facts

Opposite facts

Similar facts