If someone is keen, they are intelligent.
Only a keen student could have solved that math problem.
Example picture