A168378 a(n) = 3 + 8*floor(n/2).
3, 11, 11, 19, 19, 27, 27, 35, 35, 43, 43, 51, 51, 59, 59, 67, 67, 75, 75, 83, 83, 91, 91, 99, 99, 107, 107, 115, 115, 123, 123, 131, 131, 139, 139, 147, 147, 155, 155, 163, 163, 171, 171, 179, 179, 187, 187, 195, 195, 203, 203, 211, 211, 219, 219, 227, 227, 235, 235
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (1,1,-1).
Programs
-
Magma
[3+8*Floor(n/2): n in [1..70]]; // Vincenzo Librandi, Sep 18 2013
-
Mathematica
Table[ 3 + 8*floor(n/2), {n,60}] (* Bruno Berselli, Sep 18 2013 *) CoefficientList[Series[(3 + 8 x - 3 x^2)/((1 + x) (x - 1)^2), {x, 0, 70}], x] (* Vincenzo Librandi, Sep 18 2013 *) LinearRecurrence[{1,1,-1},{3,11,11},80] (* Harvey P. Dale, Oct 05 2022 *)
Formula
a(n) = 8*n - a(n-1) - 2, with n>1, a(1)=3.
G.f.: x*(3 + 8*x - 3*x^2)/((1+x)*(x-1)^2). - Vincenzo Librandi, Sep 18 2013
a(n) = a(n-1) +a(n-2) -a(n-3). - Vincenzo Librandi, Sep 18 2013
a(n) = 4*n + 2*(-1)^n + 1. - Bruno Berselli, Sep 18 2013
E.g.f.: (4*x + 3)*cosh(x) + (4*x - 1)*sinh(x) - 3. - G. C. Greubel, Jul 19 2016
Extensions
New definition by Vincenzo Librandi, Sep 18 2013
Comments