[go: up one dir, main page]

login
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
OFFSET
1,1
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
Cf. A110414.
Sequence in context: A273979 A079596 A134036 * A052257 A246400 A180022
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 01 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 07 2005
STATUS
approved