OFFSET
1,4
COMMENTS
Note that if n is a square then the square root of n appears repeated: i = j = sqrt(n).
Squarest (least oblong) integral rectangle with area n. This has minimal semiperimeter (A063655), since s = i + j = i + n/i is minimal when ds/di = 1 - n/i^2 = 0, i.e., n = i^2. - Daniel Forgues, Sep 29 2014
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
MATHEMATICA
f[n_] := Block[{d = Divisors@n}, len = Length[d]/2; {d[[Ceiling@len]], d[[Floor[len + 1]] ]}]; f[1] = {1, 1}; Array[f, 49] // Flatten (* Robert G. Wilson v, Aug 17 2009 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Jul 04 2009
EXTENSIONS
a(35) and further terms from Robert G. Wilson v, Aug 17 2009; corrected Aug 18 2009
STATUS
approved