Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113035
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113035 Number of ways the set {1,2,...,n} can be split into two subsets of which the sum of one is twice the sum of the other. +0
1
0, 1, 1, 0, 3, 4, 0, 10, 17, 0, 46, 78, 0, 231, 401, 0, 1233, 2177, 0, 6869, 12268, 0, 39502, 71172, 0, 232686, 422076, 0, 1396669, 2547246, 0, 8512170, 15593760, 0, 52534875, 96598865, 0, 327669853, 604405633, 0, 2062171364, 3814087419, 0, 13078921499 (list; graph; listen)
OFFSET

1,5

FORMULA

a(n) is the coefficient of x^0 in product(x^(-2k)+x^k, k=1..n).

EXAMPLE

For n=5 we have 5/1234,14/532 and 23/541 so a(5)=3.

MAPLE

A113035:= proc(n) local i, j, p, t; t:= NULL; for j to n do p:=1; for i to j do p:=p*(x^(-2*i)+x^(i)); od; t:=t, coeff(p, x, 0); od; t; end;

CROSSREFS

Cf. A058377, A112972.

Sequence in context: A049251 A158674 A056862 this_sequence A099447 A078067 A009126

Adjacent sequences: A113032 A113033 A113034 this_sequence A113036 A113037 A113038

KEYWORD

nonn

AUTHOR

Floor van Lamoen (fvlamoen(AT)hotmail.com),Oct 11 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 5 08:23 EST 2009. Contains 170348 sequences.


AT&T Labs Research