This is a gist where I'm stashing solutions to Project Euler problems in Prolog, and maybe talking about some stuff I've learned.
Prolog is a logical programming language. Each program consists of a Knowledge Base, which defines several predicates and under what conditions they're true. Running a program starts an interactive shell where you can query this knowledge