Summing over the spins gives the probability of the state . For simplicity, define the k-partition function by The probability of the k-spin state is given in terms of the k-partition function by where , and where follows.