Which is the correct way to name pentan-3-one?
Whether you write pentan-3-one or 3-pentanone both are correct. 

But according to IUPAC rule pentan-3-one this is correct format of writing the name of organic compound. So I prefer you to write pentan-3-one rather than 3-pentanone.

You should also read this.