Finding the average distance in a polygon

Finding the average distance in a polygon Over the previous couple of posts I've looked at the average distance in squares, rectangles and equilateral triangles.  The logical extension to this is to consider a regular polygon with sides 1.   Above is pictured a regular pentagon with sides 1 enclosed in a 2 by 2 square. ... Continue Reading →

Coding Hailstone Numbers

Hailstone Numbers Hailstone numbers are created by the following rules: if n is even: divide by 2 if n is odd: times by 3 and add 1 We can then generate a sequence from any starting number.  For example, starting with 10: 10, 5, 16, 8, 4, 2, 1, 4, 2, 1... we can see... Continue Reading →

The Barnsley Fern: Mathematical Art

The Barnsley Fern: Mathematical Art This pattern of a fern pictured above was generated by a simple iterative program designed by mathematician Michael Barnsely.  I downloaded the Python code from the excellent Tutorialspoint and then modified it slightly to run on repl.it.  What we are seeing is the result of 40,000 individual points - each plotted... Continue Reading →

Square Triangular Numbers

Square Triangular Numbers Square triangular numbers are numbers which are both square numbers and also triangular numbers - i.e they can be arranged in a square or a triangle.  The picture above (source: wikipedia) shows that 36 is both a square number and also a triangular number.  The question is how many other square triangular... Continue Reading →

Hollow Cubes and Hypercubes investigation

Hollow Cubes investigation Hollow cubes like the picture above [reference] are an extension of the hollow squares investigation done previously.  This time we can imagine a 3 dimensional stack of soldiers, and so try to work out which numbers of soldiers can be arranged into hollow cubes. Therefore what we need to find is what... Continue Reading →

Waging war with maths: Hollow squares

Waging war with maths: Hollow squares The picture above [US National Archives, Wikipedia] shows an example of the hollow square infantry formation which was used in wars over several hundred years.  The idea was to have an outer square of men, with an inner empty square.  This then allowed the men in the formation to... Continue Reading →

Powered by WordPress.com.

Up ↑