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!)
A120108 Number triangle T(n,k) = lcm(1,..,n+1)/lcm(1,..,k+1). 4
1, 2, 1, 6, 3, 1, 12, 6, 2, 1, 60, 30, 10, 5, 1, 60, 30, 10, 5, 1, 1, 420, 210, 70, 35, 7, 7, 1, 840, 420, 140, 70, 14, 14, 2, 1, 2520, 1260, 420, 210, 42, 42, 6, 3, 1, 2520, 1260, 420, 210, 42, 42, 6, 3, 1, 1, 27720, 13860, 4620, 2310, 462, 462, 66, 33, 11, 11, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
Number triangle T(n,k) = [k<=n]*lcm(1,..,n+1)/lcm(1,..,k+1).
EXAMPLE
Triangle begins:
1;
2, 1;
6, 3, 1;
12, 6, 2, 1;
60, 30, 10, 5, 1;
60, 30, 10, 5, 1, 1;
420, 210, 70, 35, 7, 7, 1;
MAPLE
T:= (n, k)-> ilcm(seq(q, q=1..n+1))/ilcm(seq(r, r=1..k+1)):
seq(seq(T(n, k), k=0..n), n=0..10); # Muniru A Asiru, Feb 26 2019
MATHEMATICA
f[n_] := f[n] = LCM @@ Range[n];
T[n_, k_] := f[n+1]/f[k+1];
Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Mar 01 2021 *)
PROG
(GAP) Flat(List([0..10], n->List([0..n], k->Lcm(List([1..n+1], i->i))/Lcm(List([1..k+1], i->i))))); # Muniru A Asiru, Feb 26 2019
(Magma)
A120108:= func< n, k | Lcm([1..n+1])/Lcm([1..k+1]) >;
[A120108(n, k): k in [0..n], n in [0..12]]; // G. C. Greubel, May 04 2023
(SageMath)
def f(n): return lcm(range(1, n+2))
def A120108(n, k):
return f(n)/f(k)
flatten([[A120108(n, k) for k in range(n+1)] for n in range(13)]) # G. C. Greubel, May 04 2023
CROSSREFS
First column is A003418(n+1). Second column is A025555. Row sums are A120109. Diagonal sums are A120110. Inverse is A120111.
Sequence in context: A142977 A356601 A362997 * A350292 A060556 A222969
KEYWORD
easy,nonn,tabl
AUTHOR
Paul Barry, Jun 09 2006
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)