|
|
A110415
|
|
a(n) = n concatenated with n! divided by n.
|
|
1
|
|
|
11, 11, 12, 106, 1024, 1120, 10720, 105040, 1040320, 10362880, 103628800, 1039916800, 10479001600, 106227020800, 10087178291200, 101307674368000, 1020922789888000, 10355687428096000, 1006402373705728000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(14) = 106227020800.
14 concatenated with 14! is 1487178291200 and 1487178291200/14 = 106227020800.
|
|
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[FromDigits[Join[IntegerDigits[n], IntegerDigits[n!]]]/n, {n, 20}] (* Harvey P. Dale, Sep 07 2022 *)
|
|
PROG
|
(PARI) a(n) = fromdigits(concat(digits(n), digits(n!)))/n; \\ Michel Marcus, Aug 18 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|