A225632 Irregular table read by rows: n-th row gives distinct values of successively iterated Landau-like functions for n, starting with the initial value 1.
1, 1, 2, 1, 3, 6, 1, 4, 12, 1, 6, 30, 60, 1, 6, 30, 60, 1, 12, 84, 420, 1, 15, 120, 840, 1, 20, 180, 1260, 2520, 1, 30, 210, 840, 2520, 1, 30, 420, 4620, 13860, 27720, 1, 60, 660, 4620, 13860, 27720, 1, 60, 780, 8580, 60060, 180180, 360360
Offset: 1
Examples
The first fifteen rows of table are: 1; 1, 2; 1, 3, 6; 1, 4, 12; 1, 6, 30, 60; 1, 6, 30, 60; 1, 12, 84, 420; 1, 15, 120, 840; 1, 20, 180, 1260, 2520; 1, 30, 210, 840, 2520; 1, 30, 420, 4620, 13860, 27720; 1, 60, 660, 4620, 13860, 27720; 1, 60, 780, 8580, 60060, 180180, 360360; 1, 84, 1260, 16380, 180180, 360360; 1, 105, 4620, 60060, 180180, 360360;
Links
Crossrefs
Programs
-
Maple
b:= proc(n, i) option remember; `if`(n=0, {1}, `if`(i<1, {}, {seq(map(x->ilcm(x, `if`(j=0, 1, i)), b(n-i*j, i-1))[], j=0..n/i)})) end: T:= proc(n) option remember; local d, h, l, ll; l:= b(n$2); ll:= NULL; d:=1; h:=0; while d<>h do ll:= ll, d; h:= d; d:= max(seq(ilcm(h, i), i=l)) od; ll end: seq(T(n), n=1..20); # Alois P. Heinz, May 29 2013
-
Mathematica
b[n_, i_] := b[n, i] = If[n==0, {1}, If[i<1, {}, Table[Map[Function[{x}, LCM[x, If[j==0, 1, i]]], b[n-i*j, i-1]], {j, 0, n/i}]]]; T[n_] := T[n] = Module[{d, h, l, ll}, l=b[n, n]; ll={}; d=1; h=0; While[d != h, AppendTo[ll, d]; h=d; d = Max[ Table[LCM[h, i], {i, l}]]]; ll]; Table[T[n], {n, 1, 20}] // Flatten (* Jean-François Alcover, Jul 29 2015, after Alois P. Heinz *)
Comments