OFFSET
1,1
LINKS
Neo Scott, Table of n, a(n) for n = 1..1500
Shiva Samieinia, Digital straight line segments and curves. Licentiate Thesis. Stockholm University, Department of Mathematics, Report 2007:6.
Index entries for linear recurrences with constant coefficients, signature (0,4,0,-1).
FORMULA
a(2k) = a(2k-1) + a(2k-2) + a(2k-3) and a(2k-1) = a(2k-2) + 2a(2k-3).
The asymptotic behavior is a(2k) = t(2k) sqrt(3)(2 + sqrt(3))^k, a(2k-1) = t(2k-1)(2 + sqrt(3))^k where t(n) tends to 1/2 + sqrt(3)/6.
G.f.: -x*(-3-5*x+x^2+x^3) / ( 1-4*x^2+x^4 ). - R. J. Mathar, Nov 08 2013
MATHEMATICA
LinearRecurrence[{0, 4, 0, -1}, {3, 5, 11, 19}, 40] (* Harvey P. Dale, Jan 01 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Shiva Samieinia (shiva(AT)math.su.se), Oct 05 2007, Oct 09 2007
STATUS
approved