Given how terrible my internet connection has been of late, I decided to migrate my site over to Amazon Web Services (AWS) where it’s now hosted for free with a reliable connection.
The powerball lottery in the USA has jackpotted to a first prize of $1.3 billion, which is just a silly amount of money.
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 →
Irregularly Scheduled Programming. Now with the namesake URL too! www.irregularlyscheduledprogramming.com.au — it’s coding time.
Programmers are a funny bunch of people. Searching for ‘Swift’ inevitably leads to results for a certain pop singer. Someone’s decided that there needs to be at least one result going the other way. taylor.swift – Taylor series expansion in Swift…Continue Reading →
[ Trigger warning: this post contains maths. Please don’t be afraid, it probably won’t bite. ] After posting this photo of our lottery ticket to FacebookI thought more and more about random-event probabilities.
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 →
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 →
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 →
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 →