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.

A329908 Number of oriented rational links with crossing number n.

Original entry on oeis.org

2, 2, 5, 6, 15, 24, 51, 90, 187, 352, 715, 1386, 2795, 5504, 11051, 21930, 43947, 87552, 175275, 349866, 700075, 1398784, 2798251, 5593770, 11188907, 22372352, 44747435, 89483946, 178973355, 357924864, 715860651, 1431677610, 2863377067, 5726666752, 11453377195
Offset: 2

Views

Author

Michel Marcus, Jul 07 2020

Keywords

Crossrefs

Programs

  • PARI
    a(n) = if (n%2, if ((n%4)==1, (2^(n-1)+2^((n-1)/2)-2)/3, (2^(n-1)+2^((n-1)/2))/3), (2^(n-1)+1)/3 + 2^(n/2-1));

Formula

a(n) = (2^(n-1)+1)/3 + 2^(n/2-1) if n is even; (2^(n-1)+2^((n-1)/2)-2)/3 if n is odd and n == 1 mod 4; (2^(n-1)+2^((n-1)/2))/3 if n is odd and n == 3 mod 4.
G.f.: x^2*(2 - 3*x^2 - 3*x^3 - 4*x^4)/(1 - x - 3*x^2 + x^3 + 2*x^5 + 4*x^6). - Jinyuan Wang, Jul 08 2020
From Wesley Ivan Hurt, Jul 17 2025: (Start)
a(n) = (2^(n+1)+2^(n/2)*(3+sqrt(2)+(-1)^n*(3-sqrt(2)))+4*((-1)^n+sin(3*n*Pi/2)))/12.
a(n) = a(n-1) + 3*a(n-2) - a(n-3) - 2*a(n-5) - 4*a(n-6). (End)