OFFSET
2,1
COMMENTS
Larger of two distinct numbers with minimum sum whose geometric mean is n. E.g., a(12) = 16 as 12^2 = 144 = 1*144 = 2*72 = 3*48 = 4*36 = 6*24 = 8*18 = 9*16, etc. - Amarnath Murthy, Feb 15 2003
LINKS
Harry J. Smith, Table of n, a(n) for n = 2..1000
EXAMPLE
a(45)=75 because divisors of 45^2 are {1, 3, 5, 9, 15, 25, 27, 45, 75, 81, 135, 225, 405, 675, 2025} and the smallest element greater than 45 is 75.
MAPLE
with(numtheory): for n from 2 to 200 do a := divisors(n^2): b := a[(tau(n^2)-1)/2]: printf(`%d, `, n^2/b); od:
MATHEMATICA
sdgn[n_]:=Select[Divisors[n^2], #>n&, 1]; Flatten[Array[sdgn, 70]] (* Harvey P. Dale, Jun 18 2012 *)
PROG
(PARI) { for (n=2, 1000, d=divisors(n^2); write("b063718.txt", n, " ", d[2 + length(d)\2]) ) } \\ Harry J. Smith, Aug 28 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Aug 12 2001
STATUS
approved