A function $f$ satisfies the conditions $f (x) \ne 0$ and $f (x+2) = f (x-1) f (x+5)$ for all real x. Show that $f (x+18) = f (x)$ for any real $x$.
Problem
Source: 1998 Estonia National Olympiad Final Round grade 11 p3
Tags: function, periodic, functional equation, functional, algebra