Solutions to Euler problems with TSQL.