Exact numerical and analytical results for correlated lattice electrons in one dimension