IMO 2009 A3 (P5) #
Find all functions $f : ℕ → ℕ$ such that for any $x, y ∈ ℕ$, the non-negative integers $x$, $f(y)$, and $f(y + f(x))$ form the sides of a possibly degenerate triangle.
Extra notes #
The original version using signature $ℕ^+ → ℕ^+$ is that $x$, $f(y)$, and $f(y + f(x) - 1)$ for the sides of a non-degenerate triangle.
Extra structure #
theorem
IMOSL.IMO2009A3.isNatTriangleSide.rotate
{x y z : ℕ}
(h : isNatTriangleSide x y z)
:
isNatTriangleSide y z x
Equations
- IMOSL.IMO2009A3.good f = ∀ (x y : ℕ), IMOSL.IMO2009A3.isNatTriangleSide x (f y) (f (y + f x))
Instances For
Equations
- IMOSL.IMO2009A3.goodPNat f = ∀ (x y : ℕ+), IMOSL.IMO2009A3.isPNatTriangleSide x (f y) (f (y + f x - 1))