You asked

What filter size does the panasonic lumix g 42 5mm f 1 7 take?

Here is what the site says about that.

From Panasonic Lumix G 42.5mm f/1.7: Panasonic Lumix G 42.5mm f/1.7: A prime lens by Panasonic for Micro Four Thirds cameras, 42mm f/1.7. Specs - Maker: Panasonic - Focal length: 42mm (prime) - Maximum aperture: f/1.7 - Made for: Micro Four Thirds sensors - Mounts: Micro Four Thirds - Stabilised: yes - Autofocus: yes What it frames like - On Micro Four Thirds (Micro Four Thirds): like 85mm on full frame; f/1.7 gives about the depth of field of f/3.4 there. ...

From Sensor sizes: The main sizes: - Full frame (36 x 24mm, the size of a 35mm film frame). The reference size: when people quote a focal length "in full-frame terms", this is what they mean. - APS-C (about 23 x 15mm). Crop factor about 1.5x (1.6x on Canon). Most entry and mid-range mirrorless cameras. - Micro Four Thirds (about 17 x 13mm). Crop factor 2x. Small, light systems from OM System and Panasonic. - 1-inch ...

Quoted from this site's pages.

From these pages