An integer sequence given by the recurrence relation
with . The first few values are 1, 1, 2, 3, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, ... (OEIS A005229).
An integer sequence given by the recurrence relation
with . The first few values are 1, 1, 2, 3, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, ... (OEIS A005229).
Weisstein, Eric W. "Mallows' Sequence." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/MallowsSequence.html