triple_r wrote:
> http://projecteuler.net/index.php?section=problems&id=160
>
> I spent a lot of time on this, but was never able to get the right answer. You
> basically need a closed-form solution since you can't even iterate a simple
> model that far in a reasonable amount of time.
My guess would be that the solution isn't closed form but can be solved
for in time which is logarithmic (or some other o(n) function) in n.
Looks fun though (and tricky)!
Post a reply to this message
|