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