BlazeOrangeDeer comments on What have you recently tried, and failed at? - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (130)
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.