Melt the margarine in a large saucepan over medium heat. Add the marshmallows and cook, stirring, for 4 to 5 minutes or until melted. Stir in the peanut butter, stirring until well combined and smooth. Remove the saucepan from the heat, add the cereal and peanuts, and stir until well coated.