OFFSET
0,3
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
B. Balamohan, A. Kuznetsov and S. Tanny, On the behavior of a variant of Hofstadter's Q-sequence, J. Integer Sequences, Vol. 10 (2007), #07.7.1.
Nathaniel D. Emerson, A Family of Meta-Fibonacci Sequences Defined by Variable-Order Recursions, J. Integer Sequences, Vol. 9 (2006), #06.1.8.
EXAMPLE
MATHEMATICA
a[0] = a[1] = 1; a[n_] := a[n] = a[#1] + a[#2] & @@ DigitCount[n, 2]; Array[a, 90, 0]] (* Michael De Vlieger, Mar 16 2022 *)
PROG
(PARI) a(n) = if (n<=1, 1, a(hammingweight(n)) + a(#binary(n)-hammingweight(n)));
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ctibor O. Zizka, Dec 27 2017
EXTENSIONS
More terms from Michel Marcus, Mar 16 2022
STATUS
approved