OFFSET
0,3
COMMENTS
A variation on Hofstadter's G-sequence.
FORMULA
Conjecture: a(n) ~ c*n, where c = 1/(1 + 1/(4 + 1/(1 + 1/(4 + ...)))) = 2*(sqrt(2) - 1) = 0.82842712474619...
MATHEMATICA
a[0] = 0; a[n_] := a[n] = n - a[Floor[a[n - 1]/4]]; Array[a, 80, 0]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 26 2023
STATUS
approved