Take a derivative. It's something like -4cos(4pi) with a bunch of coefficients everywhere, based on a particular pendulum.
If you change the period, the frequency must also be changed. If one is given as b, and one is given as 1/b, there can't be any way for you to change b and not have those values both be different from their previous iteration.