Problem 1

Link: http://projecteuler.net/problem=1
Problem 2

Link: http://projecteuler.net/problem=2