login
A109935
Least common multiple of the digit reversals of the first n natural numbers.
1
1, 2, 6, 12, 60, 60, 420, 840, 2520, 2520, 27720, 27720, 859320, 35232120, 598946040, 36535708440, 2594035299240, 23346317693160, 303502130011080, 303502130011080, 303502130011080, 303502130011080, 1214008520044320, 1214008520044320, 1214008520044320
OFFSET
1,2
COMMENTS
a(1) to a(12) are the same as in A003418.
LINKS
MAPLE
rev:=proc(n) local nn, nnn: nn:=convert(n, base, 10): add(nn[nops(nn)+1-j]*10^(j-1), j=1..nops(nn)) end: a:=n->lcm(seq(rev(j), j=1..n)): seq(a(n), n=1..27); # Emeric Deutsch, Aug 03 2005
MATHEMATICA
Table[LCM@@IntegerReverse/@Range[n], {n, 30}] (* Harvey P. Dale, Sep 25 2024 *)
PROG
(PARI) r(n) = fromdigits(Vecrev(digits(n))); \\ A004086
a(n) = lcm(vector(n, i, r(i))); \\ Michel Marcus, Aug 15 2019
CROSSREFS
Sequence in context: A211418 A058312 A003418 * A347304 A065887 A072181
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jul 19 2005
EXTENSIONS
Corrected and extended by Emeric Deutsch and Erich Friedman, Aug 03 2005
STATUS
approved