login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341302 a(n) = n! + (n-1)! + n-2. 1
1, 3, 9, 32, 147, 844, 5765, 45366, 403207, 3991688, 43545609, 518918410, 6706022411, 93405312012, 1394852659213, 22230464256014, 376610217984015, 6758061133824016, 128047474114560017, 2554547108585472018, 53523844179886080019, 1175091669949317120020 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..449

Michael Engen and Vincent Vatter, Containing all permutations, Amer. Math. Monthly, 128 (2021), 4-24; arXiv preprint, arXiv:1810.08252 [math.CO], 2018-2020.

FORMULA

E.g.f.: (1/(1 - x) - exp(x)) * (2 - x) - log(1 - x). - Ilya Gutkovskiy, Feb 15 2021

MATHEMATICA

Array[#2 + (#1 + 1) #2 + #1 - 1 & @@ {#, #!} &, 22, 0] (* Michael De Vlieger, Apr 07 2021 *)

CROSSREFS

Sequence in context: A334642 A273596 A009356 * A297209 A058138 A327808

Adjacent sequences:  A341299 A341300 A341301 * A341303 A341304 A341305

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Feb 13 2021

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 09:53 EDT 2021. Contains 347612 sequences. (Running on oeis4.)