Nuclear magnetic resonance study and Curie temperature of Y2Co17Cx