cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A120435 Triangle read by rows: T(n,k) = lcm(1,2,3,4,...,n)/k (1 <= k <= n).

This page as a plain text file.
%I A120435 #17 Nov 09 2024 10:03:40
%S A120435 1,2,1,6,3,2,12,6,4,3,60,30,20,15,12,60,30,20,15,12,10,420,210,140,
%T A120435 105,84,70,60,840,420,280,210,168,140,120,105,2520,1260,840,630,504,
%U A120435 420,360,315,280,2520,1260,840,630,504,420,360,315,280,252,27720,13860,9240
%N A120435 Triangle read by rows: T(n,k) = lcm(1,2,3,4,...,n)/k (1 <= k <= n).
%C A120435 T(n,1) = A003418(n). Row sums yield A025529. - _Emeric Deutsch_, Jul 24 2006
%H A120435 John Tyler Rascoe, <a href="/A120435/b120435.txt">Rows n = 1..140, flattened</a>
%e A120435 Triangle starts:
%e A120435    1;
%e A120435    2,  1;
%e A120435    6,  3,  2;
%e A120435   12,  6,  4,  3;
%e A120435   60, 30, 20, 15, 12;
%p A120435 T:=proc(n,k) if k<=n then lcm(seq(j,j=1..n))/k else 0 fi end: for n from 1 to 11 do seq(T(n,k),k=1..n) od; # yields sequence in triangular form); # _Emeric Deutsch_, Jul 24 2006
%o A120435 (Python)
%o A120435 from math import lcm
%o A120435 def A120435(maxrow):
%o A120435     A,rlcm = [],1
%o A120435     for n in range(1,maxrow+1):
%o A120435         rlcm = lcm(n,rlcm)
%o A120435         A.append(list(rlcm//k for k in range(1,n+1)))
%o A120435     return A # _John Tyler Rascoe_, Nov 08 2024
%Y A120435 Cf. A003418, A025529, A094310.
%K A120435 nonn,tabl
%O A120435 1,2
%A A120435 _Leroy Quet_, Jul 15 2006
%E A120435 More terms from _Emeric Deutsch_, Jul 24 2006