The halving Recamán sequence is the integer sequence obtained by starting with and then halving the preceding term when the result is
an unvisited integer, otherwise adding the current index
(Pegg 2026). For
, its rule is
|
(1)
|
The first terms are 1, 3, 6, 10, 5, 11, 18, 9, 18, 28, 14, 7, ... (OEIS A400939). The plot above shows the first 333 terms. This sequence received an honorable mention in the OEIS 400K celebration contest (OEIS Foundation Inc. 2026).
This rule replaces the subtraction step in Recamán's sequence by halving. Only the halving branch requires a previously unseen value.
In particular, the repeated value is allowed. It is conjectured that every positive
integer eventually occurs. For example, 2 first appears at position 102, while
12 first appears at position 333.