A079859 a(n) = n*2^(n-4).
4, 10, 24, 56, 128, 288, 640, 1408, 3072, 6656, 14336, 30720, 65536, 139264, 294912, 622592, 1310720, 2752512, 5767168, 12058624, 25165824, 52428800, 109051904, 226492416, 469762048, 973078528, 2013265920, 4160749568, 8589934592, 17716740096, 36507222016
Offset: 4
Examples
a(4)=4 since the palindromic compositions of 7 that contain a 3 are 2+3+2, 1+1+3+1+1 and 3+1+3, for a total of 4 3s. The palindromic compositions of 8 that contain a 4 are 2+4+2, 1+1+4+1+1 and 4+4.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 4..1000
- Phyllis Chinn, Ralph Grimaldi and Silvia Heubach, The frequency of summands of a particular size in Palindromic Compositions, Ars Combin., Vol. 69 (2003), pp. 65-78.
- Sergey Kitaev, On multi-avoidance of right angled numbered polyomino patterns, Integers: Electronic Journal of Combinatorial Number Theory, Vol. 4 (2004), A21, 20pp.
- Sergey Kitaev, On multi-avoidance of right angled numbered polyomino patterns, University of Kentucky Research Reports (2004).
- Math StackExchange, The distribution of areas of a random triangle on the sphere.
- Index entries for linear recurrences with constant coefficients, signature (4,-4).
Programs
-
Magma
[n*2^(n-4) : n in [4..40]]; // Vincenzo Librandi, Sep 22 2011
-
Mathematica
Table[i*2^(i - 4), {i, 4, 50}]
-
PARI
Vec(-2*x^4*(3*x-2)/(2*x-1)^2 + O(x^50)) \\ Colin Barker, Sep 29 2015
-
PARI
a(n) = n*2^(n-4); vector(40, n, a(n+3)) \\ Altug Alkan, Sep 29 2015
Formula
O.g.f.: 2*x^4*(2-3*x)/(1-2*x)^2. a(n) = 2*A045623(n-3). - R. J. Mathar, Jun 13 2008
a(n) = 4*a(n-1) - 4*a(n-2) for n>5. - Colin Barker, Sep 29 2015
From Amiram Eldar, Jan 12 2021: (Start)
Sum_{n>=4} 1/a(n) = 16*log(2) - 32/3.
Sum_{n>=4} (-1)^n/a(n) = 20/3 - 16*log(3/2). (End)
E.g.f.: x*(exp(2*x) - 1 - 2*x - 2*x^2)/8. - Stefano Spezia, Apr 06 2021
Comments