Wash the potatoes thoroughly, peel them, and boil them.
Mash the boiled potatoes and let them cool.
Boil the eggs, peel them, and dice them.
Finely chop the cucumber and onion.
Put the potatoes, eggs, cucumber, and onion in a bowl and season with salt and pepper.
Add mayonnaise and mix well.
Transfer to a plate to serve.