Problem

Source: Danube Mathematical Competition 2017, Romania

Tags: geometry, circumcircle



Let $O,H$ be the circumcenter and the orthocenter of triangle $ABC$. Let $F$ be the foot of the perpendicular from C onto AB, and $M$ the midpoint of $CH$. Let N be the foot of the perpendicular from C onto the parallel through H at $OM$. Let $D$ be on $AB$ such that $CA=CD$. Let $BN$ intersect $CD$ at $P$. Let $PH$ intersect $CA$ at $Q$. Prove that $QF\perp OF$.