Hi guys, I was wondering if I could get some help as I'm not particularly proficient on Excel.
My excel problem is regarding a specific mathematical phenomenon called the 'Collatz Conjecture'
(For those who don't know the Collatz Conjecture, it is a mathematical problem where from whichever starting number you're at you multiply the number by 3 and add 1 if it's an odd number, if it is an even number you divide by 2. Eventually all of these sequences end up going back to the number 1.
There is a video by Veritasium on their youtube channel explaining the problem if you would prefer a fuller explanation, it is called: 'The Simplest Math Problem No One Can Solve - Collatz Conjecture')
I need to make a document which lists every number of the Collatz Conjecture sequence for the numbers between 1 - 131072.
With Row 1 being for the number 1, row 2 for number 2 etc...
Example (Row 3): Column A = 3, B = 10, C = 5, D = 16, E = 8, F = 4, G = 2, H = 1. We stop here as the sequence has reached 1.
However, the moment any sequence exceeds the number 131072, the cells in that row must be blank from that point on.
For example the sequence starting with 129,198 (which would be row 129,198):
A - 129,198
B - 64,599
C - 193,796 (at this point we have a value that exceeds 131,072 hence this cell should be empty)
D - empty cell
E - empty cell
F - empty cell
Etc...
I was hoping someone could guide me as to how to construct this excel spreadsheet, or if anyone has time on their hands and feels that it is a relatively simple exercise for them, to construct the spreadsheet for me and post it.
Apologies for the long text and thanks in advance
Bookmarks