Below you will find pages that utilize the taxonomy term “Mathematics”

September 25, 2014

# How to generate random numbers in R

This post deals with how to generate random numbers in R. It is good to know how to generate random numbers with a particular language or software package for at least one of the following three reasons:
You want to test something that depends on a particular distribution. You’re running a stochastic process of some kind (Branching process, random walk etc) and you need random numbers for deciding whether an event occurs.

October 2, 2012

# Nonlinear Systems: A Rough Intro

This is another mathematics post that does not actually feature any equations or graphs. It is intended to set the way clear for writing regularly about nonlinear systems. This in itself is a precursor to writing more about mathematical biology as biological systems are inherently complex and nonlinear. I am reading P. G. Drazin’s textbook on Nonlinear Systems and this post is a glossary of terms from the start of the book laid down here because I wanted to remember how to typeset definition lists in Markdown (though in the end I (ab)used <h4> tags because it looked better).

June 22, 2011

# Favourite Numbers

What’s your favourite number?
I was ambivalent on this issue until a few months ago until I came across the following quirky result: if you start with the prime number 41 and then add 2 you get 43, which is also prime and then if you add 4 to 43, you get 47: also prime. And this continues to produce prime numbers if you add successive multiples of two to your running total, UNTIL… you get to the 41st number in this sequence, which is 41 squared.