Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A168378

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = 3 + 8*floor(n/2).
(history; published version)
#37 by Harvey P. Dale at Wed Oct 05 19:02:47 EDT 2022
STATUS

editing

approved

#36 by Harvey P. Dale at Wed Oct 05 19:02:44 EDT 2022
MATHEMATICA

LinearRecurrence[{1, 1, -1}, {3, 11, 11}, 80] (* Harvey P. Dale, Oct 05 2022 *)

STATUS

approved

editing

#35 by Charles R Greathouse IV at Thu Sep 08 08:45:49 EDT 2022
PROG

(MAGMAMagma) [3+8*Floor(n/2): n in [1..70]]; // Vincenzo Librandi, Sep 18 2013

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#34 by Joerg Arndt at Wed Jul 20 02:06:12 EDT 2016
STATUS

reviewed

approved

#33 by Michel Marcus at Wed Jul 20 01:07:47 EDT 2016
STATUS

proposed

reviewed

#32 by G. C. Greubel at Tue Jul 19 18:00:49 EDT 2016
STATUS

editing

proposed

#31 by G. C. Greubel at Tue Jul 19 18:00:41 EDT 2016
NAME

a(n) = 3 + 8*floor(n/2).

COMMENTS

More generally, the sequences generated by the recursive relation b(n) = h*n - b(n-1) + k, with b(1)=c and h, k, c, prefixed integers, have the closed form b(n) = (2*h*n + (3*h + 2*k - 4*c)*(-1)^n + h + 2*k)/4. Also, if 2*c = h+k, then b(n) = c + h*floor(n/2); if 2*c = 2*h+k, then b(n) = c + h*floor((n-1)/2); if 2*c = k, b(n) = c + h*floor((n+1)/2). [_- _Bruno Berselli_, Sep 18 2013]

LINKS

<a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1).

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) = 4*n + 2*(-1)^n + 1. [_- _Bruno Berselli_, Sep 18 2013]

a(n) = A168381(n) + 1 = A168398(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

STATUS

approved

editing

#30 by Charles R Greathouse IV at Sat Jun 13 00:53:24 EDT 2015
LINKS

<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (1,1,-1).

Discussion
Sat Jun 13
00:53
OEIS Server: https://oeis.org/edit/global/2439
#29 by Charles R Greathouse IV at Fri Jun 12 15:27:14 EDT 2015
LINKS

<a href="/index/Rea#recLCCRec">Index to sequences with linear recurrences with constant coefficients</a>, signature (1,1,-1).

Discussion
Fri Jun 12
15:27
OEIS Server: https://oeis.org/edit/global/2436
#28 by Joerg Arndt at Fri Sep 20 11:24:49 EDT 2013
STATUS

proposed

approved