23

Bart wrote the number 1015 as a sum of numbers using only the digit 7. He used a 7 a total of 10 times, including using the number 77 three times, as shown. Now he wants to write the number 2023 as a sum of numbers using only the digit 7, using a 7 a total of 19 times. How many times will the number 77 occur in the sum?

A 2 B 3 C 4 D 5 E 6

Answer

E

SOLUTIOn

First note that 777 × 3 = 2331 > 2023 and hence the maximum number of times the number 777 could appear in the sum is 2. If there were no 777s in the sum, the maximum value that could be obtained using the digit 7 exactly 19 times is 9 × 77 + 7 = 700, which is too small. Similarly, if there was only one 777 in the sum, the maximum value that could be obtained using the digit 7 exactly 19 times is 777 + 8 × 77 = 1393, which is also too small. Therefore the number 777 is required twice. Now note that 2023 − 2 × 777 = 469 and that 469 = 6 × 77 + 7. Therefore the sum Bart should write would consist of 777 twice, 77 six times and a single 7, which does consist of the digit 7 a total of 19 times.

Subscribe to receive updates!

Be up-to-date with our recent updates, new problems and answers!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Our courses

Get ready for olympiads with free problems, extracurricular topics and our courses

Mathematics

Programming

Where do you hold your classes?
We hold our classes online or on-site on Saturdays at our branch in Pimlico Academy, London.
You can find our timetable here.
What do you need to start learning online?
For lessons you only need a computer or phone with a microphone, camera and Internet access. Wherever you are - in London, Nottingham, New York or Bali - online lessons will be at hand.
When can I take the introductory lesson?
You can get acquainted with the school at any time convenient for you. To do this, just leave a request and sign up for a lesson.
I can't attend class, what should I do?
It is OK, it happens! Students have the opportunity to cancel a lesson up to 8 hours before the scheduled time without loss of payment. So you can reschedule it for a convenient time, and the teacher will have the opportunity to
I don't have much free time, will I have time to study?
Learning can take place at your own pace. We will select a convenient schedule and at any time we will help you change the schedule, take a break or adjust the program.
How long is one lesson?
All classes last 1 hour.
Hear from some of our amazing students who already achieved incredible results with us!
"Olympiad Maths Lessons helped me a lot to get the Gold medal in Junior Maths Challenge"
St. Paul's Student
"Thanks to the 'Data Science' and 'Coding in Python' lessons I got accepted to my dream university."
Michael
Data Science Student
Warwick University
"Great courses, which thoroughly explained topics beyond the capability of the GCSE answer sheet. Thanks so much."
Ivan
GCSE Student in Dubai
"Financial Mathematics! Best course to understand Python and Mathematics behind Finance!"
Gleb
VC Investor
"We got silver in PMC! Thanks George!"
Mum of St. Paul's Student
Prepare for the Primary Maths Challenge
"My daughter took a batch of 10 classes with George to understand Python with Turtle. I found George extremely knowledgeable and accessible."
Dad of Latymer School Student
Python with Turtle

Contact us

Phone

Mon-Sun from 8am to 9pm
+44 77 07 547 144

Office

Come say hello at our office HQ.
84 Eccleston Square, Pimlico, London SW1V 1NP, UK

...or ask us anything

Smaller 3D model of a student sitting at his desk and preparing for competitions, exams and olympiads.

Ask about our courses and offerings, and we will help you choose what works best for you.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.