# R

## Adelaide Traffic – Part I

Have you seen the little shark-fins on top of some traffic light control boxes? Have you seen the new ‘x minutes to y road‘ signs? Did you know they’re connected?

## SimplyStats Thanksgiving Puzzle

I owe a lot to Jeff Leek and Roger Peng for their great Coursera courses, in which I learned to program in R. They (along with Rafa Irizarry) run the Simply Statistics blog, which I highly reccomend. They posted a…Continue Reading →

## Project Euler Q5 :: Smallest multiple

Explanation. Standard caveat: don’t look here if you are trying to do these yourself. 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number…Continue Reading →

## Project Euler Q4 :: Largest palindrome product

Explanation. Standard caveat: don’t look here if you are trying to do these yourself. A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the…Continue Reading →

## Project Euler Q3 :: Largest prime factor

Explanation. Standard caveat: don’t look here if you are trying to do these yourself. The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? It seems so simple at…Continue Reading →

## Project Euler Q2 :: Even Fibonacci numbers

Explanation. Standard caveat: don’t look here if you are trying to do these yourself. Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:…Continue Reading →

## Project Euler Q1 :: Multiples of 3 and 5

Explanation. Standard caveat: don’t look here if you are trying to do these yourself. If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples…Continue Reading →

## Project Euler

As a means of honing my R programming skills, I’ve decided to tackle the Project Euler questions exclusively using my new favourite programming language. Besides, it seems that R can do just about everything; surely it can handle some programming…Continue Reading →