OFFSET
0,2
COMMENTS
Appears to be the coordination sequence for a trivalent node in the bex tiling (or net).
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Reticular Chemistry Structure Resource (RCSR), The bex tiling (or net)
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1).
FORMULA
a(n) = a(n-1) + a(n-3) - a(n-4) for n>4. - Colin Barker, Jan 27 2018
MAPLE
f3:=proc(n)
if n=0 then 1
elif (n mod 3) = 0 then 10*n/3
elif (n mod 3) = 1 then (10*n-1)/3
else (10*n+1)/3; fi; end;
[seq(f3(n), n=0..80)];
MATHEMATICA
LinearRecurrence[{1, 0, 1, -1}, {1, 3, 7, 10, 13}, 100] (* Paolo Xausa, Jun 25 2025 *)
PROG
(PARI) Vec((1 + 2*x + 4*x^2 + 2*x^3 + x^4) / ((1 - x)^2*(1 + x + x^2)) + O(x^100)) \\ Colin Barker, Jan 27 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 26 2018
STATUS
approved
