Determine the value of N.
Note: Computer program solutions are welcome but an analytical solution is preferred.
For an explanation, refer to the analytical solution submitted by Steve Herman in this location.
Larry has stated a slight generalisation to this problem, that it works for any concatenation of 6s follow by a single 1 in this location.
blackjack
flooble's webmaster puzzle