Both the washer and the dryer need a dedicated circuit. For a washer, it needs a 20A dedicated circuit, and no other outlet should be on that circuit.