Originally posted by Lowell Goudge K mount lenses came out in about 1976 with the KX, KM, K1000, K2 and K2DMD.
Originally posted by Fogel70 I believe the M-series lenses were introduced in 1976/77 together with ME and MX. ME Super came in 1979.But it took a number of years before all M-series lenses were introduced.
Being pedantic, only the K2, KX and KM came out in 1975 together with K-series lenses*. It was bad timing because the fashion had already moved to smaller cameras (like Olympus's OMs), so the M-series (M for "mini"?) was introduced only a year later, in 1976, starting with the ME and MX accompanied by reduced size M-series lenses. Production of the KX and KM ceased within 2 years of their introduction.
But Pentax wanted to salvage something from the K-series so in 1976 they re-launched the KM in a cheaper stripped-down form as the K1000, which was immensly successful in the market sector that did not demand the latest tech and fashion (or knew nothing of them anyway). At the same time the K2 received an upgrade aimed at the professional market as the K2-DMD, until replaced by the LX in 1980.
The appearance of these bodies and lenses around the world may have occurred at differing times and some K-series lenses (the more specialised ones, eg 50mm F1.2) were never replaced by M-series equivalents. Otherwise, K-series lenses were meant for K-series bodies, and M-series lenses were meant for M-series bodies. The K1000 was made until 1997, long past its technical "sell-by" date, by which time it was being sold with a much later A-series lens!
One seeming reason why Pentax clung to the screw mount for so long was that they had a idealistic view that lens mounts should be standard across brands. The M42 screw was such a standard. When it was clear that it was no longer tenable, Pentax made their new K bayonet mount design a royalty-free "standard". It was used by a number of other camera makers, generally minor ones including Cosina, Ricoh, and Petri.
* Pentax did not call them "K-series" lenses, that is my term for the lenses produced for the K-series cameras. Pentax simply called them "SMC Pentax" lenses. The "M-series" lenses (again my term) were engraved with "SMC Pentax-M". Both were a similar style with the focussing ring covered in square patten rubber.