Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Beelines

Age 14 to 16
Challenge Level Yellow star
Secondary curriculum
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources

No one sent us a complete solution to this problem, but here is the start of a solution which shows some good mathematical thinking and a systematic way of working.

We decided to investigate what happens if you keep the $x$ coordinate the same and change the $y$ coordinate. Here is our table to show the number of squares and gridlines crossed when the $x$ coordinate is $5$.


We noticed a pattern for the number of squares crossed, which works for every $y$ coordinate we tried except $5$. If you add together the $x$ and $y$ coordinates and take away 1, you get the number of squares crossed. This is because for example to get from (0,0) to (5,3) you go along 5 squares and up 3 squares, meaning that you travel through 8 squares altogether, but that counts the corner square twice so you need to take away 1.
It doesn't work for (5,5) because you go diagonally through the corners of the squares instead of cutting through the edges.

Can anybody build on this thinking and explain the patterns found?


Update: Jacky from Merici College in Canberra, Australia, drew some diagrams and compiled tables to try to notice some patterns.

Alex (also from Merici College) sent us the following solution that offers a formula. Does it always work?


I have found through investigation that we can predict the number of squares a line passes through starting at 0 using the formula:
(A) Number of squares = ( x + y ) - (highest common factor of x and y)
This is why:
In my investigation I found the common pattern of:
(B) Number of squares = (x + y ) - 1 worked for some of the coordinates.  I then tried to spot a pattern within these numbers and found that it occurred if either x or y was a prime number. Using this fact I investigated further and found that a common relationship with all the numbers was x and y's highest common factor.

After I figured this out, I could see that the absolute highest amount of squares a line could go through used the formula B.

Here's an example: Imagine line goes from (0,0) to (4,12). The highest common multiple of (4,12) is 4. This line goes through the intersection point of squares at point (1,4), (2,8) and (3,12).

Because this line goes through these intersections instead of crossing squares, 3 squares are 'missed', plus the original 1 in the formula B, which reduces the number of squares by 4.

Well done, Alex and Jacky!


Related Collections

  • Other videos

You may also like

Polycircles

Show that for any triangle it is always possible to construct 3 touching circles with centres at the vertices. Is it possible to construct touching circles centred at the vertices of any polygon?

Nim

Start with any number of counters in any number of piles. 2 players take it in turns to remove any number of counters from a single pile. The loser is the player who takes the last counter.

Loopy

Investigate sequences given by $a_n = \frac{1+a_{n-1}}{a_{n-2}}$ for different choices of the first two terms. Make a conjecture about the behaviour of these sequences. Can you prove your conjecture?

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo