login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127976 a(n) = ((6*n + 10)/27)*2^(n-1) + ((-1)^(n-1))*(6*n + 5)/27. 10
1, 1, 5, 9, 25, 53, 125, 273, 609, 1325, 2885, 6217, 13353, 28517, 60685, 128641, 271857, 572829, 1203925, 2524345, 5281721, 11029461, 22991005, 47846129, 99420545, 206297613, 427508325, 884842793, 1829337929, 3777980485 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Equals A001045, [1, 1, 3, 5, 11, 21, 43, 85, ...] convolved with A078008, [1, 0, 2, 2, 6, 10, 22, ...]. - Gary W. Adamson, May 25 2009

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

W. Bosma, Signed bits and fast exponentiation, J. Th. des Nombres de Bordeaux Vol.13, Fasc. 1, 2001.

Index entries for linear recurrences with constant coefficients, signature (2,3,-4,-4).

FORMULA

From Joerg Arndt, May 27 2011: (Start)

a(n) = +2*a(n-1) +3*a(n-2) -4*a(n-3) -4*a(n-4).

G.f.: x*(1-x)/((1+x)^2*(1-2*x)^2). (End)

MATHEMATICA

Table[((6n + 10)/27)2^(n - 1) + ((-1)^(n - 1) )(6n + 5)/27, {n, 1, 100}]

PROG

(Magma) [((6*n + 10)/27)*2^(n - 1) + ((-1)^(n - 1))*(6*n + 5)/27: n in [1..40]]; // Vincenzo Librandi, May 26 2011

(PARI) x='x+O('x^30); Vec(x*(1-x)/((1+x)^2*(1-2*x)^2)) \\ G. C. Greubel, May 07 2018

(PARI) a(n) = ((6*n + 10)/27)*2^(n - 1) + (-1)^(n - 1)*(6*n + 5)/27; \\ Michel Marcus, May 09 2018

CROSSREFS

Cf. A001045, A078008.

Sequence in context: A147496 A147383 A276918 * A147286 A137199 A221567

Adjacent sequences:  A127973 A127974 A127975 * A127977 A127978 A127979

KEYWORD

nonn

AUTHOR

Artur Jasinski, Feb 09 2007

EXTENSIONS

Name edited by Altug Alkan, May 09 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 07:19 EDT 2022. Contains 357063 sequences. (Running on oeis4.)