OFFSET
1,3
EXAMPLE
For n = 10, we have the pairs {k,ceiling(n/k)} of {1,10},{2,5},{3,4},{4,3},{5,2},{6,2},{7,2},{8,2},{9,2},{10,1}. The GCD's of these 10 pairs are 1,1,1,1,1,2,1,2,1,1. Of these, 2 is the largest. So a(10) = 2.
MATHEMATICA
Table[Max[Table[GCD[k, Ceiling[n/k]], {k, 1, n}]], {n, 1, 100}] (* Stefan Steinerberger, Jul 22 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 12 2006
EXTENSIONS
More terms from Stefan Steinerberger, Jul 22 2006
STATUS
approved