A273323 a(n) = greatest number k <= n^2 having exactly n divisors, or 0 if no such k exists.
Examples
a(4) = 15, because 15 is the greatest number <= 4^2 with exactly 4 divisors.
Programs
-
Mathematica
Seq := {}; For[n = 1, n < 50, n++, AppendTo[Seq, a = Max[Select[Range[n^2], DivisorSigma[0, #] == n &]]; If[a == -Infinity, 0, a]]]; Seq
Comments