Peel and dice the pumpkin and potatoes into cubes.
Put the ingredients in a pot, add water, and bring to a boil.
Once the ingredients are cooked, discard the water and mash them finely using a tool for mashed soups.
Melt butter in a pan, add the mashed ingredients, and season with salt and pepper.
Stir well, then transfer to a bowl to serve.