Bo102010 comments on What have you recently tried, and failed at? - Less Wrong

20 Post author: Emile 05 July 2012 09:52AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (130)

You are viewing a single comment's thread.

Comment author: Bo102010 05 July 2012 11:46:39PM 5 points [-]

Project Euler problem 384. I thought I'd be able to crack it in an afternoon, but a couple week's later I'm still stumped. I finally moved to another problem in the hopes of being able to return to 384 with fresh eyes, but no joy just yet.

I'm not sure if there's a lesson to learn from the failure, except that to do a good estimate about how much work something will take often itself requires a bit of work.

Comment author: RobertLumley 07 July 2012 02:31:50PM 1 point [-]

Wow. That looks difficult.

Comment author: BlazeOrangeDeer 09 July 2012 02:50:20AM *  0 points [-]

At first glance I see a few sub-problems that don't look hard, but the list s(n) will get huge but have a ton of repetition so you could just make a list of occurrences of each number instead of just the list of s(n), and this would make finding the nth occurrence trivial. You wouldn't need to keep much of the list, only the fibonacci numbers.