login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025552 LCM of {C(0,0), C(1,0), ..., C(n, floor(n/2))}. 1
1, 1, 2, 6, 6, 30, 60, 420, 420, 1260, 1260, 13860, 13860, 180180, 360360, 360360, 360360, 6126120, 6126120, 116396280, 116396280, 116396280, 116396280, 2677114440, 2677114440, 13385572200, 13385572200, 40156716600, 40156716600, 1164544781400 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Robert P. P. McKone, Table of n, a(n) for n = 0..199
FORMULA
Let b(n) = 2 if n = 2^m or n = 2^m + 1 for some m, otherwise 1; then a(n) = lcm({1,2,...,n}) / b(n). - Peter Luschny, Jun 26 2009
MAPLE
LCM := proc(n) option remember; if n < 2 then 1 else ilcm(n, LCM(n-1)) fi end;
a := proc(n) local i; add(i, i=convert(2*iquo(n+2, 2), base, 2)); `if`(%=1, LCM(n), LCM(n)/2) end: # Peter Luschny, Jun 26 2009
MATHEMATICA
l[1] = 1; l[n_Integer?NonNegative] := l[n] = LCM[n, l[n - 1]];
a[0] = 1; a[n_Integer?NonNegative] := a[n] = Module[{s}, s = Total[IntegerDigits[2*Quotient[n + 2, 2], 2]]; If[s == 1, l[n], l[n]/2]];
Table[a[n], {n, 0, 29}] (* Robert P. P. McKone, Oct 31 2023 *)
CROSSREFS
Cf. A003418. - Peter Luschny, Jun 26 2009
Sequence in context: A034386 A083907 A084343 * A284008 A284576 A060114
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Peter Luschny, Jun 26 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 11:27 EDT 2024. Contains 371913 sequences. (Running on oeis4.)