I'm reworking all of my completed Project Euler problems in R.