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

A015018
q-factorial numbers for q=-5.
1
1, -4, -84, 8736, 4551456, -11851991424, -154324780331904, 10047160498728278016, 3270561732706527788046336, -5323179358400075453935368658944, -43320145405426340445710562789228109824, 1762701221841919957075369153792221868461981696
OFFSET
1,2
FORMULA
Prod_{k=1}^{n} (q^k - 1) / (q - 1).
a(1) = 1, a(n) = ((-5)^n - 1)*a(n-1)/(-6). - Vincenzo Librandi, Oct 26 2012
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==(((-5)^n - 1) * a[n-1])/(-6)}, a, {n, 15}] (* Vincenzo Librandi, Oct 26 2012 *)
PROG
(Magma) [n le 1 select 1 else ((-5)^n - 1)*Self(n-1)/(-6): n in [1..18]]; // Vincenzo Librandi, Oct 26 2012
CROSSREFS
Sequence in context: A173211 A109901 A367522 * A204245 A287248 A225164
KEYWORD
sign,easy
STATUS
approved