uva 11296 – counting solutions to an integral equation