Advent of Code: Day 25
Let It Snow

First puzzle

The last puzzle at last! It’s been a journey to get there, but we had tons of fun. In this puzzle, we are going to calculate a number based on the following algorithms. The number is a identified with a column and a row because it was written on an infinite table on an infinite sheet of paper. To generate the numbers, we received the value at the beginning of the table (0,0) as part of the input. The next generated number and its coordinates can are calculated as follows:

To get the value of the provided column and row, we need to iterate from the first column until we find it:

You can find this code along with my input and puzzle answers at here.

*****
Written by Darien Martinez Torres on 25 March 2016