OFFSET
0,4
COMMENTS
McCombinations: in 2002, McDonald's advertised a McChoice menu of 8 items under the heading "40,312 combinations" rather than the more obvious 2^8-1=255 (A000225). The Advertising Standards Authority "considered that the number quoted in the advertisement was not necessarily so exaggerated as to be misleading". - Henry Bottomley, May 01 2003
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Advertising Standards Authority, McDonald's Restaurants Ltd (archived May 10 2004).
FORMULA
E.g.f.: 1/(1 - x) - x*exp(x). - Ilya Gutkovskiy, Jan 27 2017
MAPLE
MATHEMATICA
lst={}; Do[AppendTo[lst, n!-n], {n, 3*4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 20 2008 *)
Table[n! - n, {n, 0, 25}] (* Wesley Ivan Hurt, Oct 28 2014 *)
PROG
(Magma) [Factorial(n) - n: n in [0..25]]; // Vincenzo Librandi, Jul 20 2011
(PARI) a(n)=n!-n \\ Charles R Greathouse IV, Oct 28 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved