Problem

ALG-B3-M06-P010 Alternating Parity

#10 Grade 10 Grade 11 ★★★☆☆ Level 3 of 5

Prove that there is no \(f:\mathbb Z\to\mathbb Z\) such that \(f(n+1)-f(n)=2n+1\) and all values \(f(n)\) have the same parity.