Expressions for the local composition
in a binary mixture of particles
placed on an Ising lattice are given in one dimension (1D) as a function
of the average composition and of the interchange energy. The particles
are supposed to interact through pairwise interactions between nearest
neighbors. The problem is solved by using the classic analogy with
the Ising spin problem. The result for the first neighbor is in agreement
with an expression obtained from quasi-chemical theory, which is known
to be exact in 1D. The composition for more remote neighbors is also
determined. Besides, a model proposed in the literature to calculate
approximately the local composition for the first neighbor in any
dimension is examined. The solution to the problem in 1D provides
insight into the model and a different interpretation of the thermodynamic
contributions involved in the method.