16

Alisha wrote an integer in each square of a 4 × 4 grid. Integers in squares with a common edge differed by 1. She wrote a 3 in the top left corner, as shown. She also wrote a 9 somewhere in the grid. How many different integers did she write?

A. 4

B. 5

C. 6

D. 7

E. 8

Answer

D 7

SOLUTIOn

Since the integers in squares with a common edge differ by 1, the integers in the two squares with a common edge to the square with a 3 in are either 2 or 4. Hence they are both ≤ 4. Similarly, if the integer in a square is ≤ 4, then the integers in the squares with a common edge to that square are ≤ 5, and so on. This gives a set of inequalities for the integers in all the squares, as shown in Figure 1. Since only one square could contain an integer as big as 9 and we are told that Alisha wrote a 9 somewhere in the grid, the 9 must be in the bottom right corner. The integers in the squares with a common edge to the square with a 9 in are either 8 or 10. Hence they are both ≥ 8.We can continue this process in a similar way to obtain a second set of inequalities for the integers in all the squares, as shown in Figure 2. An integer that is both ≤ n and ≥ n must be n. Therefore, from the inequalities given for the integers in all the squares in Figures 1 and 2, we can deduce that the integers Alisha wrote were as shown in Figure3. From this we see that Alisha wrote only the integers 3, 4, 5, 6, 7, 8and 9 in the grid. Hence she wrote seven different integers in total.

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.