login
a(n) = floor(a(n-2)^2/a(n-1)) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...
0

%I #3 Mar 31 2012 14:11:10

%S 0,1,1,3,4,9,14,28,49,93,167,311,567,1048,1921,3540,6503,11970,22005,

%T 40486,74451,136953,251877,463295,852108,1567298,2882679,5302108,

%U 9752057,17936874,32991004,60679974,111607807,205278835,377566558

%N a(n) = floor(a(n-2)^2/a(n-1)) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...

%C lim n->inf a(n)/a(n-1) = tribonacci constant = a root of 1 + x + x^2 - x^3

%K nonn

%O 0,4

%A _Gerald McGarvey_, Jul 21 2004