115.Sum Without Sevens or Eights
★★★combinatoricsJane Street
What is the sum of all the integers from 1 to 100 that contain neither the digit 7 nor the digit 8?
Sign in to submit an answer and track it toward your stats.
Sign inHint
Start from the total of 1 to 100 and subtract everything you must exclude, being careful not to remove 78 or 87 twice.
Want timed drills, mental math, and a market-making game too? Try the full practice suite →