OFFSET
1,2
COMMENTS
This sequence, which is much smoother than the closely related A005735, is calculated using the same "cheat" as described in Selmer's paper. That is, after we seem to have found the largest k for a given n, we search up to 10k for binomial coefficients having fewer than n distinct prime factors.
LINKS
T. D. Noe, Table of n, a(n) for n=1..500
Ernst S. Selmer, On the number of prime divisors of a binomial coefficient. Math. Scand. 39 (1976), no. 2, 271-281.
EXAMPLE
Consider n=3. The values of binomial(k,n) are 1,4,10,20,35,56,84,120 for k=3..10. Selmer shows that k=8 yields the largest value having fewer than 3 distinct prime factors. Factoring the other values shows that a(3)=6.
MATHEMATICA
Join[{1}, Table[cnt=1; n=k; b=1; n0=Infinity; While[n++; b=b*n/(n-k); If[Length[FactorInteger[b]]<k, cnt=cnt+1; n0=n]; n<10*n0]; cnt, {k, 2, 20}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 05 2007, May 20 2007
STATUS
approved