OFFSET
0,9
LINKS
T. D. Noe, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
a(13) = 2 because C(13,5) = 3^2*11*13 and C(13,6) = 2^2*3*11*13.
MATHEMATICA
f[ n_ ] := (c = 0; k = 1; While[ k < n/2 + .5, If[ Union[ Transpose[ FactorInteger[ Binomial[ n, k ] ] ] [ [ 2 ] ] ] [ [ -1 ] ] > 1, c++ ]; k++ ]; c); Table[ f[ n ], {n, 0, 100} ]
PROG
(PARI) a(n) = sum(k=0, n\2, !issquarefree(binomial(n, k))); \\ Michel Marcus, Mar 05 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Oct 02 2001
STATUS
approved