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

A173314
a(n) = 6*n!+1.
6
7, 7, 13, 37, 145, 721, 4321, 30241, 241921, 2177281, 21772801, 239500801, 2874009601, 37362124801, 523069747201, 7846046208001, 125536739328001, 2134124568576001, 38414242234368001, 729870602452992001
OFFSET
0,1
LINKS
FORMULA
a(0)=7, a(n) = n*a(n-1)-n+1. - Vincenzo Librandi, Sep 29 2013
EXAMPLE
For n=0, a(0)=7; n=1,a(1)=7; n=2, a(2)=13; n=3, a(3)=37; n=4, a(4)=145.
MATHEMATICA
Table[6 n! + 1, {n, 0, 25}] (* Vincenzo Librandi, Sep 29 2013 *)
PROG
(Magma) [6*Factorial(n) + 1: n in [0..25]]; // Vincenzo Librandi, Sep 29 2013
(Magma) [7] cat [n eq 1 select n+6 else n*Self(n-1)-n+1: n in [1..25] ]; // Vincenzo Librandi, Sep 29 2013
CROSSREFS
Cf. sequences of the type k*n!+1: A038507 (k=1), A052898 (k=2), A173324 (k=3), A173322 (k=4), A173319 (k=5), this sequence (k=6).
Sequence in context: A317790 A109539 A109541 * A040043 A339706 A355897
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 16 2010
STATUS
approved