The Hofstadter -sequence
is defined by
and
for integers . The first few terms for
, 2, ... are 1, 1, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 10, 10,
11, 12, 13, 13, 14, ... (OEIS A005374).
The Hofstadter -sequence
is defined by
and
for integers . The first few terms for
, 2, ... are 1, 1, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 10, 10,
11, 12, 13, 13, 14, ... (OEIS A005374).
Weisstein, Eric W. "Hofstadter H-Sequence." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HofstadterH-Sequence.html