Asked by Speedo

Find the sum of all positive integers less than 1000 ending in 3 or 7.

Answers

Answered by Leo
First, you need to list all of the integers that match the condition. Do you know what these integers are?
Answered by Graham
Positive integers less than 1000 consist of {1 ... 999}.

This may also be written {001 ... 999}.

So you need to count, {003, 007, 013, ... 987, 993, 997}.

Which is the same result as counting {00, 01, ... 98, 99} twice over. (Once for ??3, once for ??7).

Count the number of integers from 0 and 99 inclusive. Double that.
Answered by Reiny
I see it as
(3 + 13 + 23 + + 993) + (7 + 17 + ... + 997)
two arithmetic series,
there are 100 terms in each series with a= 3 and d = 10 and a=7 and d=10
using :
sum= (n/2)(first + last)

sum = (100/2)(3+993) + (100/2)(7+997)
= 100,000
Answered by Speedo
Thanks, guys!
Answered by Aops
No cheating >:(
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions