Grate the potatoes and onion using the fine holes of a box grater or a food processor grating attachment.
Transfer the grated mixture to a clean kitchen towel or cheesecloth and squeeze forcefully over a sink to remove all excess moisture.
In a large mixing bowl, combine the dried potato and onion mixture with the egg, flour, salt, and pepper until well incorporated.
Heat the vegetable oil in a large heavy-bottomed skillet over medium-high heat until the oil reaches approximately 350 degrees Fahrenheit.
Working in batches, drop 0.25 cup portions of the mixture into the hot oil, flattening each into a 3-inch disc with a spatula.
Fry for 3 to 4 minutes per side until the edges are dark golden brown and the center is cooked through.
Transfer the pancakes to a wire rack or paper towel-lined plate to drain.
Serve hot with applesauce or sour cream.