cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A298402 a(n) = 2*a(n-1) - a(n-3) + a(floor(n/2)), where a(0) = 1, a(1) = 1, a(2) = 1.

This page as a plain text file.
%I A298402 #6 Feb 10 2018 17:52:30
%S A298402 1,1,1,2,4,8,16,30,56,100,178,308,532,902,1526,2550,4254,7038,11626,
%T A298402 19098,31336,51224,83658,136288,221884,360642,585898,950814,1542512,
%U A298402 2500652,4053040,6566118,10635838,17222890,27886700,45144600,73077936,118280798
%N A298402 a(n) = 2*a(n-1) - a(n-3) + a(floor(n/2)), where a(0) = 1, a(1) = 1, a(2) = 1.
%C A298402 a(n)/a(n-1) -> (1 + sqrt(5))/2, the golden ratio (A001622), so that (a(n)) has the growth rate of the Fibonacci numbers (A000045). See A298338 for a guide to related sequences.
%H A298402 Clark Kimberling, <a href="/A298402/b298402.txt">Table of n, a(n) for n = 0..1000</a>
%t A298402 a[0] = 1; a[1] = 1; a[2] = 1;
%t A298402 a[n_] := a[n] = 2*a[n - 1] - a[n - 3] + a[Floor[n/2]];
%t A298402 Table[a[n], {n, 0, 90}]  (* A298402 *)
%Y A298402 Cf. A001622, A000045, A298338, A298403.
%K A298402 nonn,easy
%O A298402 0,4
%A A298402 _Clark Kimberling_, Feb 10 2018