The ground state binding energy of few particles in an infinite one-dimensional periodic and quasiperiodic lattice is investigated rigorously in a Hubbard-like model, using a real-space method. We studied the three-body problem in the periodic lattice with correlated hoppings, for the case of non-parallel spin in an infinite linear chain, applying the generalized Hubbard Hamiltonian. The correlation is studied for different values of the hopping parameters as well as the on-site and the inter-site interactions. The results show an effect of the frustration of antibonding states on the pairing behavior. In the case of one-dimensional quasiperiodic lattice we give some preliminary results for two electrons with non-parallel spin.