It looks like most of us found intuitively that the second last number (denoted m from now on) has to be close to N/phi. (Here I'm thinking about the sequence backwards from (N, m, ...) , until you get to a term which is greater than or equal to the previous term.) Indeed, as p4wn3r showed, a maximal sequence is achieved either by m=floor(N/phi) or m=ceiling(N/phi). The length of a sequence backwards from (N, m, ...) is based on tracing p4wn3r's fixed-point diagram:
but tracing it backwards starting from x=N/m (going outwards) until the x value is less than or equal to 1. Note that it is not actually possible for floor(N/phi) and ceiling(N/phi) to both be maximal sequences for the same N; by alternation, one has even length and the other has odd length.
What I found very curious is that, from my calculations, most N have a unique maximal sequence, but for some N, there are actually
two maximal sequences. I wasn't able to find any N that had more than two maximal sequences so I'm not sure if they exist (I checked up to N=20000 or so). No, this is not acknowledged anywhere in Riddler's solution, not even in the PDF on the page that gives a list of maximal sequences up to N=200.
There appear to be an infinite number of them but the first few with two maximal sequences as far as I can remember are N=6, 15, 32, 35, ... Considering the Fibonacci fractions 1/1, 2/1, 3/2, 5/3, 8/5, ... mark the boundaries for which values closer to phi give longer sequences, some values of N have two values m
1 and m
2 where N/m
1 and N/m
2 both fit in the same "gap". For example, for N=35:
35/23=1.5217...
35/22=1.5909...
Both conveniently fit in the gap between 3/2=1.5 (exclusive) and 8/5=1.6 (inclusive). This gives the two maximal backward sequences (35, 23, 12, 11, 1, 10) and (35, 22, 13, 9, 4, 5). You can check that 35/21=1.6666... is exactly 5/3, so it fits in the gap from 2/1=2 (exclusive) to 5/3=1.6666... (inclusive), a worse gap than 3/2 to 8/5.
I didn't think about it too much, so perhaps there is a proof that an infinite number of N have two maximal sequences, and/or a proof that there is no value of N with more than two maximal sequences, but I probably won't come back to that anymore.
----
As a quick problem, I will present
the newest Riddler Express (I will just copy and paste the description):
You have a case with 11 golden globes, weighing 1 kilogram, 2 kg and so on, up to 11 kg. And you know exactly which globe is which.
You have arranged to sell one of the globes to a queen. She has heard tales of these orbs, and knows for a fact that they have masses from 1 kg to 11 kg. However, she doesn’t know which is which and will not simply take your word for it. She will purchase a globe if you can demonstrate its weight.
The queen has a balancing scale with two plates, one on each side. It shows whether the total weight on either plate is equal or, if not, which side is heavier. The queen can clearly see which globes you place on which plate. However, if at any point the mass on either side exceeds 11 kg, the scale will break and the queen will refuse to buy from you.
The queen is in a hurry for her next appointment, so time is limited. What is the fewest number of weighings by which you can prove the weight of at least one globe? Which globe is it?
Answer:
Only one weighing required, proves the weight of the 11kg globe. Reasoning:
Put 1 2 3 4 on one side and 11 on the other. Four globes on one side weigh a minimum of 10kg. This confirms the lone globe on the other side to be 11kg, since it's the only globe that is possibly heavier than four globes.