OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(89) = 9: C(2*89,89) = 2^4 * 3^2 * 5^3 * 7^2 * 11^1 * ... * 173^1, the smallest prime power is 3^2 = 9. 3^2 is the largest prime power for prime 3 dividing C(2*89,89).
a(9993) = 59: 59^1 is the largest power of 59 dividing C(2*9993,9993), it is smaller than the largest powers of all other prime factors.
MAPLE
a:= proc(n) local h, i, m, p;
p:=1; m:=infinity;
while p < m do p:= nextprime(p); i:= 0;
h:= 2*n; while h>0 do h:=iquo(h, p); i:=i+h od;
h:= n; while h>0 do h:=iquo(h, p); i:=i-2*h od;
if i>0 then m:= min(m, p^i) fi
od; m
end:
seq(a(n), n=1..100);
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Alois P. Heinz, May 25 2013
STATUS
approved