OFFSET
0,2
COMMENTS
Or numerators of (3*n+2)/4. - Altug Alkan, Apr 17 2018
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,2,0,0,0,-1).
FORMULA
MATHEMATICA
Table[Numerator[(3 n + 2)/12], {n, 0, 70}]
LinearRecurrence[{0, 0, 0, 2, 0, 0, 0, -1}, {1, 5, 2, 11, 7, 17, 5, 23}, 80] (* Harvey P. Dale, Feb 04 2021 *)
PROG
(PARI) vector(70, n, n--; numerator((3*n+2)/12))
(PARI) Vec((1 + 5*x + 2*x^2 + 11*x^3 + 5*x^4 + 7*x^5 + x^6 + x^7)/((1 - x)^2*(1 + x)^2*(1 + x^2)^2) + O(x^60)) \\ Colin Barker, Apr 16 2018
(Sage) [numerator((3*n+2)/12) for n in (0..70)]
(GAP) List([0..70], n -> NumeratorRat((3*n+2)/12));
(Magma) [Numerator((3*n+2)/12): n in [0..70]];
KEYWORD
nonn,easy,frac
AUTHOR
Bruno Berselli, Apr 13 2018
STATUS
approved