I have a draft edit of this sequence, currently in the queue, and am trying to find out more about it. This is a fairly natural sequence as it is tied to fundamental properties of Stern's diatomic series, the Stern-Brocot tree, the Calkin-Wilf tree, and the modular group. In particular, the difference between the rational numbers labeling adjacent regions in the Stern-Brocot tree is always the reciprocal of an integer, and it is natural to label the edges of the tree with that integer, that is, with the terms of A070871.
The sequence, along with a number of companion sequences, was added to the OEIS in 2002. Most of the companion sequences seem to be tied to an exploration of what happens when you iterate the function. In particular, A071887 is a list of values for which the iterated function is conjectured not to reach a cycle.
I have been unable to find any information about this, apart from what's in the OEIS. My questions are:
1) Is there any literature on this sequence?
2) Does anyone know what Conway's motivation was for looking at iterates of this function? The indexing of A070871 is at least slightly arbitrary. Shifting the offset would produce different cycles and trajectories.
3) What is the reason for the term "alimentary function" and the term "nutritionally balanced numbers" for A070872?
4) Sean Irvine left a comment on A071887 in 2011 pointing out that the value 42 appears to be missing, as it doesn't seem to lead to a cycle. In fact, 42, 43, 52, and 53 all lead to the same trajectory. So if 42 doesn't lead to a cycle, that would be four missing values between 41 and 54. The next value after 58 that doesn't lead to to an obvious cycle is 65, which leads to the same trajectory as 42. After that, the next conjectural value would be 68, which leads to the same trajectory as 38. Of the six values given in the present version of the sequence, 37 and 58 lead to the same trajectory, 38 and 57 lead to the same trajectory, and 41 and 54 lead to the same trajectory. This is expected due to a symmetry of A070871, regarded as an array. Can anyone confirm or extend any of these calculations or, better, prove any of these results? (Assuming there's a good motivation for putting time and effort into this.) Up to n = 200 there seem to be 17 infinite trajectories and only a handful of cycles, but my iterations don't extend very far, so if there are long cycles, I've missed them.
Best,
Will