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!)
A102841 a(n) = ((9*n^2 + 33*n + 26)*2^n + (-1)^n)/27. 1
1, 5, 19, 61, 179, 493, 1299, 3309, 8211, 19949, 47635, 112109, 260627, 599533, 1366547, 3089901, 6937107, 15476205, 34331155, 75769325, 166451731, 364127725, 793500179, 1723082221, 3729512979, 8048092653, 17319057939 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
A floretion-generated sequence relating the number of edges and faces in n-dimensional hypercube.
Equals A001787, (1, 4, 12, 32, 80, ...) convolved with A001045, the Jacobsthal sequence. - Gary W. Adamson, May 23 2009
The sum of the sizes of all inversions in compositions of n. - Arnold Knopfmacher, Jan 22 2020
LINKS
M. Archibald, A. Blecher, A. Knopfmacher, M. E. Mays, Inversions and Parity in Compositions of Integers, J. Int. Seq., Vol. 23 (2020), Article 20.4.1.
FORMULA
G.f.: 1/((1+x)*(1-2*x)^3).
a(n+1) - 2*a(n) = A045883(n+2).
a(n) + a(n+1) = A001788(n+2).
a(n) = 5*a(n-1) - 6*a(n-2) - 4*a(n-3) + 8*a(n-4). - Wesley Ivan Hurt, Jul 03 2020
MATHEMATICA
Table[(1/27)*((9 n^2 + 33 n + 26) 2^n + (-1)^n), {n, 0, 50}] (* or *) LinearRecurrence[{5, -6, -4, 8}, {1, 5, 19, 61}, 50] (* G. C. Greubel, Sep 27 2017 *)
PROG
(Magma) [((9*n^2 + 33*n + 26)*2^n + (-1)^n)/27 : n in [0..40]]; // Wesley Ivan Hurt, Jul 03 2020
CROSSREFS
Cf. A001787, A001045. - Gary W. Adamson, May 23 2009
Sequence in context: A128638 A036630 A338229 * A036637 A036644 A000342
KEYWORD
nonn
AUTHOR
Creighton Dement, Feb 27 2005
EXTENSIONS
Corrected by T. D. Noe, Nov 08 2006
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 April 19 07:38 EDT 2024. Contains 371782 sequences. (Running on oeis4.)