You asked
How much background blur will I get at f 4 with the 17 70 compared with f 1 8 on a pentax k body?
At the same framing, the 17-70 at f/4 gives noticeably less background blur than an f/1.8 lens on a Pentax K body. The focal length converter explains why: multiply the f-number by the crop factor to get the full-frame equivalent. On APS-C, f/1.8 gives about the blur of f/2.7 on full frame, while f/4 gives about the blur of f/6. So the f/1.8 lens blurs the background roughly two and a bit times more.
The 17-70 is an APS-C zoom with a constant f/4 maximum aperture, and it isn't stabilised. It suits the Pentax K-70, a weather-sealed APS-C DSLR, and it's a sensible everyday kit lens. Its f/4 limit is the real constraint here. For dim light or moving subjects, or for a clearly blurred background, a faster lens matters more than stabilisation, which only steadies the camera. The 17-70 specs list it as autofocus with a maximum aperture of f/4.
The guide's portrait advice applies to either setup. Blur also grows with focal length, with getting closer to your subject, and with more distance between the subject and the background, so zooming toward 70mm or moving your subject away from a wall can narrow the gap more than changing lenses. The portrait page's lens section notes that the 50mm f/1.8 is made for almost every mount and behaves like a 75-80mm portrait lens on APS-C. The guide doesn't give a catalogue price or confirm which f/1.8 lenses are on the K mount here, so check that before buying.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.