OFFSET
1,2
COMMENTS
Conjecture: a(n) is always a divisor of n^2.
EXAMPLE
a(6) = 18 because 6 has 4 divisors and term must have fewer than 8 divisors. Only 6, 12, and 18 are multiples of 6 with fewer than 8 divisors.
MATHEMATICA
a[n_] := If[n == 1, 1, Block[{nd, p, e, r, mu=0}, {p, e} = Transpose@ FactorInteger@ n; nd = 2*Times @@ (1+e); r[w_, i_] := Block[{v = w}, If[i < 1, mu = Max[mu, Times @@ (p^w)], While[Times @@ (1 + v) < nd, r[v, i-1]; v[[i]]++]]]; r[e, Length@e]; mu]]; Array[a, 46] (* Giovanni Resta, Apr 28 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
J. Lowell, Apr 23 2013
EXTENSIONS
Some terms corrected by Giovanni Resta, Apr 28 2013
STATUS
approved