the way i would try it was to do: sigma [142,r] = 7r for the first part ["Find the sum of all the integers between 1 and 1000 divisible by 7"] which you got right [first post]
then then leads onto the second part of the question
the way i would try it was to do: sigma [142,r] = 7r for the first part ["Find the sum of all the integers between 1 and 1000 divisible by 7"] which you got right [first post]
then then leads onto the second part of the question
that's exactly what i did, but then i was wondering why the first part of the question has a different answer to the second part of the question with the sigma