Collatz Conjecture (The Code)

This entry is part 2 of 2 in the series Collatz Conjecture

In the This program just returns the value for a single value so we need to wirte an extra function to get the sequence: The code above adds the values in the sequence to an array and then prints simply prints the array to the screen, running the code above produces the following output: This …
Continue reading Collatz Conjecture (The Code)

Collatz Conjecture (The Math)

This entry is part 1 of 2 in the series Collatz Conjecture

I was watching one of my favourite youtube channels Numberphile and came across a video which for convenience i have embedded into this post on the Collatz Conjecture. The Collatz Conjecture is named for Lothar Collatz who introduced the idea in 1937. It is a simple sequence which is defined as: This may look a …
Continue reading Collatz Conjecture (The Math)

2018

I won’t say it this year so don’t worry. I’m not going to promise to blog more, I always do and never get around to it. 2017 was a mixed year. That’s all I can say. In October I started studying for my degree with the Open University and so far it is going well. …
Continue reading 2018