Make sure you buy a genuine Pentax adapter for the M42 lens. Some of the 3rd party ones have trouble focussing to infinity and I've heard tales of them getting stuck on cameras. The official one will have neither of these problems.
I have the later K mount version of that lens, it's a handy one to have on digital as it becomes a fast short telephoto. Took this with mine today:
The faded sign is on the side of a former hotel dating back to the 1900s, which is now a college. It probably hasn't been painted for over fifty years, but it's easy to make out the words.