login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A015022
q-factorial numbers for q=-8.
1
1, -7, -399, 181545, 661005345, -19253102683815, -4486300228074519855, 8363069275661695069900425, 124719129516554187174725699959425, -14879571721119777957252576955487113947975
OFFSET
1,2
FORMULA
Prod_{k=1}^{n} (q^k - 1) / (q - 1).
a(1) = 1, a(n) = ((-8)^n - 1)*a(n-1)/(-9). - Vincenzo Librandi, Oct 26 2012
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==(((-8)^n - 1) * a[n-1])/(-9)}, a, {n, 15}] (* Vincenzo Librandi, Oct 26 2012 *)
PROG
(Magma) [n le 1 select 1 else ((-8)^n - 1)*Self(n-1)/(-9): n in [1..13]]; // Vincenzo Librandi, Oct 26 2012
CROSSREFS
Sequence in context: A128793 A042527 A203588 * A225167 A160292 A215562
KEYWORD
sign,easy
STATUS
approved