OFFSET
2,2
LINKS
C. Ernst and D. W. Sumners, The Growth of the Number of Prime Knots, Math. Proc. Cambridge Philos. Soc. 102, 303-315, 1987 (see Theorem 1, formulas for TK_n^*).
Taizo Kanenobu and Toshio Sumi, Polynomial Invariants of 2-Bridge Knots through 22 Crossings, Math. Comp. 60 (1993), 771-778, S17 (see Table 2).
Index entries for linear recurrences with constant coefficients, signature (1,3,-1,0,-2,-4).
FORMULA
(2^(n-2) - 1) / 3 if n is even,
(2^(n-2) + 2^((n-1)/2)) / 3 if n = 1 (mod 4),
(2^(n-2) + 2^((n-1)/2) + 2) / 3 if n = 3 (mod 4).
a(n) = a(n-1) + 3*a(n-2) - a(n-3) - 2*a(n-5) - 4*a(n-6).
PROG
(Python) [(2**(n-2) + [-1, 2**(n//2), -1, 2**(n//2)+2][n%4])//3 for n in range(2, 30)]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andrey Zabolotskiy, Jul 20 2020
STATUS
approved