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”).

A015019
q-factorial numbers for q=-6.
1
1, -5, -155, 28675, 31857925, -212333070125, -8491411807368875, 2037471806119124711875, 2933289072587326393069793125, -25337824341236140066496699758578125, -1313212585969062194023540996089250607796875
OFFSET
1,2
FORMULA
Prod_{k=1}^{n} (q^k - 1) / (q - 1).
a(1) = 1, a(n) = ((-6)^n - 1)*a(n-1)/(-7). - Vincenzo Librandi, Oct 26 2012
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==(((-6)^n - 1) * a[n-1])/(-7)}, a, {n, 15}] (* Vincenzo Librandi, Oct 26 2012 *)
PROG
(Magma) [n le 1 select 1 else ((-6)^n - 1)*Self(n-1)/(-7): n in [1..18]]; // Vincenzo Librandi, Oct 26 2012
CROSSREFS
Sequence in context: A108535 A265123 A237527 * A225165 A151577 A032391
KEYWORD
sign,easy
STATUS
approved