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!)
A015013 q-factorial numbers for q=-2. 3
1, -1, -3, 15, 165, -3465, -148995, 12664575, 2165642325, -738484032825, -504384594419475, 688484971382583375, 1880252456845835197125, -10268058666835106011499625, -112158004817839862963610403875 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = Product_{k=1..n} ((-2)^k - 1) / (-2 - 1).
a(1) = 1, a(n) = (((-2)^n - 1) * a(n-1))/(-3). - Vincenzo Librandi, Oct 26 2012
a(n) = (-1)^(floor((n mod 4)/2)) * Product_{k=1..n} A001045(k). - Altug Alkan, Apr 05 2016
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==(((-2)^n - 1) * a[n-1])/(-3)}, a, {n, 15}]
Table[QFactorial[n, -2], {n, 20}] (* Vladimir Reshetnikov, Sep 16 2016 *)
PROG
(Magma) I:=[1]; [n le 1 select I[n] else (((-2)^n - 1) * Self(n-1))/(-3): n in [1..18]]; // Vincenzo Librandi, Oct 26 2012
(PARI) a(n) = prod(k=1, n, ((-2)^k-1)/(-3)) \\ Michel Marcus, Apr 05 2016
CROSSREFS
Cf. A001045.
Sequence in context: A108975 A097489 A080696 * A269694 A153280 A132683
KEYWORD
sign,easy
AUTHOR
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 16 14:11 EDT 2024. Contains 372552 sequences. (Running on oeis4.)