login
a(n) = a(n-1) + 2*a(n-2) + a([n/2]), where a(0) = 1, a(1) = 1, a(2) = 1.
1

%I #4 Feb 11 2018 10:52:25

%S 1,1,1,4,7,16,34,70,145,292,598,1198,2428,4858,9784,19570,39283,78568,

%T 157426,314854,630304,1260610,2522416,5044834,10092094,20184190,

%U 40373236,80746474,161502730,323005462,646030492,1292060986,2584161253,5168322508,10336723582

%N a(n) = a(n-1) + 2*a(n-2) + a([n/2]), where a(0) = 1, a(1) = 1, a(2) = 1.

%H Clark Kimberling, <a href="/A298415/b298415.txt">Table of n, a(n) for n = 0..1000</a>

%t a[0] = 1; a[1] = 1; a[2] = 1;

%t a[n_] := a[n] = a[n - 1] + 2 a[n - 2] + a[Floor[n/2]];

%t Table[a[n], {n, 0, 30}] (* A298415 *)

%Y Cf. A298338.

%K nonn,easy

%O 0,4

%A _Clark Kimberling_, Feb 11 2018