The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A282081 Number of n-element subsets of [n+5] having an even sum. 2
1, 3, 9, 28, 66, 126, 226, 396, 651, 1001, 1491, 2184, 3108, 4284, 5796, 7752, 10197, 13167, 16797, 21252, 26598, 32890, 40326, 49140, 59423, 71253, 84903, 100688, 118728, 139128, 162248, 188496, 218025, 250971, 287793, 329004, 374794, 425334, 481194, 543004 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-18,38,-63,84,-92,84,-63,38,-18,6,-1).
FORMULA
G.f.: (x^2-x+1)*(x^4-2*x^3+6*x^2-2*x+1)/((x^2+1)^3*(x-1)^6).
a(n) = A282011(n+5,n).
a(n) = (1+n)*(2+n)*(3+n)*(4+n)*(5+n)/240 + ((-i)^n+i^n)*(8+6*n+n^2)/32 where i=sqrt(-1). - Colin Barker, Feb 06 2017
EXAMPLE
a(0) = 1: {}.
a(1) = 3: {2}, {4}, {6}.
a(2) = 9: {1,3}, {1,5}, {1,7}, {2,4}, {2,6}, {3,5}, {3,7}, {4,6}, {5,7}.
MATHEMATICA
LinearRecurrence[{6, -18, 38, -63, 84, -92, 84, -63, 38, -18, 6, -1}, {1, 3, 9, 28, 66, 126, 226, 396, 651, 1001, 1491, 2184}, 40] (* Harvey P. Dale, Sep 30 2019 *)
PROG
(PARI) Vec((x^2-x+1)*(x^4-2*x^3+6*x^2-2*x+1) / ((x^2+1)^3*(x-1)^6) + O(x^60)) \\ Colin Barker, Feb 06 2017
CROSSREFS
Cf. A282011.
Sequence in context: A015638 A032092 A026524 * A022631 A027346 A325218
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Feb 05 2017
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 May 21 12:09 EDT 2024. Contains 372736 sequences. (Running on oeis4.)