Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063865
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063865 Number of solutions to +- 1 +- 2 +- 3 +- ... +- n = 0. +0
24
1, 0, 0, 2, 2, 0, 0, 8, 14, 0, 0, 70, 124, 0, 0, 722, 1314, 0, 0, 8220, 15272, 0, 0, 99820, 187692, 0, 0, 1265204, 2399784, 0, 0, 16547220, 31592878, 0, 0, 221653776, 425363952, 0, 0, 3025553180, 5830034720, 0, 0, 41931984034, 81072032060, 0, 0 (list; graph; listen)
OFFSET

0,4

COMMENT

a(n) ~ sqrt(6/pi)*n^(-3/2)*2^n for n = 0 or 3 (mod 4) as n approaches infinity (see H.-K. Hwang's review MR 2003j:05005 of the JIS paper)

REFERENCES

Suggested by J. H. Conway (conway(AT)math.princeton.edu), Aug 27, 2001.

LINKS

N. J. A. Sloane, Table of n, a(n) for n=0..400

S. R. Finch, Signum equations and extremal coefficients.

Dorin Andrica and Ioan Tomescu, On an Integer Sequence Related to a Product..., Journal of Integer Sequences, Vol. 5 (2002), Article 02.2.4

FORMULA

a(n) = 0 unless n == 0 or 3 (mod 4).

a(n) = constant term in expansion of Prod_{ k = 1..n } (x^k + 1/x^k). - N. J. A. Sloane (njas(AT)research.att.com), Jul 07 2008

If n = 0 or 3 (mod 4) then a(n) = coefficient of x^(n(n+1)/4) in Product_{k=1..n} (1+x^k). - D. Andrica and I. Tomescu.

MAPLE

M:=400; t1:=1; lprint(0, 1); for n from 1 to M do t1:=expand(t1*(x^n+1/x^n)); lprint(n, coeff(t1, x, 0)); od: - N. J. A. Sloane (njas(AT)research.att.com), Jul 07 2008

MATHEMATICA

f[n_, s_] := f[n, s]=Which[n==0, If[s==0, 1, 0], Abs[s]>(n*(n+1))/2, 0, True, f[ n-1, s-n]+f[n-1, s+n]]; a[n_] := f[n, 0]

CROSSREFS

Cf. A025591, A063866, A063867, A000980, A141000. "Decimations": A060468, A123117 = 2*A104456.

Contribution from Pietro Majer (majer(AT)dm.unipi.it), Mar 15 2009: (Start)

Analogous sequences for sums of squares and cubes are A158092, A158118,

see also A019568. (End)

Sequence in context: A089262 A069971 A167291 this_sequence A037224 A122670 A087637

Adjacent sequences: A063862 A063863 A063864 this_sequence A063866 A063867 A063868

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Aug 27 2001

EXTENSIONS

More terms from Dean Hickerson, Aug 28, 2001

Corrected and edited by S. R. Finch (Steven.Finch(AT)inria.fr), Feb 01 2009

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 November 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research