login
A298414
a(n) = 2*a(n-1) - a(n-2) + a([n/2]), where a(0) = 1, a(1) = 1, a(2) = 1.
2
1, 1, 1, 2, 4, 7, 12, 19, 30, 45, 67, 96, 137, 190, 262, 353, 474, 625, 821, 1062, 1370, 1745, 2216, 2783, 3487, 4328, 5359, 6580, 8063, 9808, 11906, 14357, 17282, 20681, 24705, 29354, 34824, 41115, 48468, 56883, 66668, 77823, 90723, 105368, 122229, 141306
OFFSET
0,4
LINKS
MATHEMATICA
a[0] = 1; a[1] = 1; a[2] = 1;
a[n_] := a[n] = 2 a[n - 1] - a[n - 2] + a[Floor[n/2]];
Table[a[n], {n, 0, 30}] (* A298414 *)
CROSSREFS
Cf. A298338.
Sequence in context: A347543 A343940 A288343 * A347544 A288344 A347545
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 11 2018
STATUS
approved