euler1 with ramda