The interactions of carbons with potassium