Metamath Proof Explorer


Theorem flnn0ohalf

Description: The floor of the half of an odd positive integer is equal to the floor of the half of the integer decreased by 1. (Contributed by AV, 5-Jun-2012)

Ref Expression
Assertion flnn0ohalf N0N+120N2=N12

Proof

Step Hyp Ref Expression
1 nn0ofldiv2 N0N+120N2=N12
2 nn0o N0N+120N120
3 2 nn0zd N0N+120N12
4 flid N12N12=N12
5 3 4 syl N0N+120N12=N12
6 1 5 eqtr4d N0N+120N2=N12