f(5) isn't a prime.
f(5)=2^(127)-1 which is one of the original Mersenne Primes that was actually a composite and shown to be false for the original Mersenne Conjecture.
Mersenne conjectures - Wikipedia, the free encyclopedia
Actually I'm wrong. Somehow I read 127 as 257. :P