That's the resistor but you still need the other resistor too!
That mosfet MTD10N05E is not a "logic level mosfet". It is intended to be driven by a higher gate voltage.
Two resistors -- (330 in my schematic) gate resistor to protect arduino pin (so nothing gets damaged from overcurrent).
-- (10k) pulldown resistor to prevent gate from turning on when arduino is powering up and booting and arduino pin is in what called tri-state, neither high nor low. Otherwise what commonly happens is the motor will spin full power for a brief period on bootup.
Look for another mosfet.. look specifically for logic level mosfets, That means the gate can be driven by 5 volts or less. "Standard" mosfets are designed for gate potential of 10-15 volts.
Here is a suitable mosfet.