Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122649
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122649 Difference between the double factorial of the n-th nonnegative odd number and the double factorial of the n-th nonnegative even number. +0
2
0, 1, 7, 57, 561, 6555, 89055, 1381905, 24137505, 468934515, 10033419375, 234484536825, 5943863027025, 162446292283275, 4761954230608575, 149048910271886625, 4961463912662882625, 175022432901300859875 (list; graph; listen)
OFFSET

1,3

FORMULA

a(2*n+1) = (2*n+1)!! - (2*n)!!

EXAMPLE

a(1)=0, since 1!! - 0!! = 1 - 1 = 0, where the usual convention 0!! = 1 has been heeded. Note that 1 is the first nonnegative odd, and 0 the first nonnegative even number.

a(4)=57, since 7!! - 6!! = 1*3*5*7 - 6*4*2*1 = 105 - 48 = 57.

MAPLE

for n from 1 to 24 do: l[n]:=product(2*k-1, k=1..n); od: r[1]:=1; for n from 2 to 24 do: r[n]:=product(2*k, k=1..n-1); od; for k from 1 to 24 do: a[k]:=l[k]-r[k]; od;

CROSSREFS

Cf. A006882, A000165.

Adjacent sequences: A122646 A122647 A122648 this_sequence A122650 A122651 A122652

Sequence in context: A082413 A142990 A062192 this_sequence A051846 A051816 A015566

KEYWORD

easy,nonn

AUTHOR

Peter C. Heinig (algorithms(AT)gmx.de), Sep 21 2006

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research