We investigate properties of flatwords and k-flatwords. In particular,
these words are studied in connection with Post Correspondence Proble
m (PCP). An open problem occurs: where is the borderline between the d
ecidability and the undecidability of k-flat PCP over an alphabet with
n symbols? Our main results concern the related new types of prime so
lutions of PCP.