OFFSET
1,1
FORMULA
(n-1)! followed by a 1.
EXAMPLE
a(14) = 622702080001: 14! concatenated with 14 is 8717829120014 and 87178291200/14 = 622702080001.
MAPLE
c:=proc(x, y) local s: s:=proc(m) nops(convert(m, base, 10)) end: x*10^s(y)+y: end: a:=n->c(n!, n)/n: seq(a(n), n=1..22); # c yields the concatenation of two positive integers # Emeric Deutsch, Aug 07 2005
MATHEMATICA
Table[(n!*10^IntegerLength[n]+n)/n, {n, 20}] (* Harvey P. Dale, Sep 10 2016 *)
PROG
(PARI) a(n) = fromdigits(concat(digits(n!), digits(n)))/n; \\ Michel Marcus, Aug 18 2019
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 01 2005
EXTENSIONS
More terms from Emeric Deutsch and Erich Friedman, Aug 07 2005
STATUS
approved