Saturday 20 September 2014

Magic Squares 3 : Creating a 4x4 magic square using 16 terms in Arithmetic Progression

Problem Background : A 4x4 magic square is an arrangement of 16 squares arranged in 4 rows and 4 columns. We are given 16 terms in an arithmetic progression(AP) to place in each of the squares such that the sum of each of the rows and columns is equal.

Solution : We assume the terms of the AP are a,a+d,a+2d,...,a+14d,a+15d where a is the first term and d is the common difference.


General Solution of a 4x4 magic square

Derived corollary : It can be noted that we get a magic square of any 16 consecutive integers when d=1 and a is the first term among the 16 integers.

Magic square of any 16 consecutive integers where a is the first integer

Example: If a=1 and d=1, we get a magic square of the integers from 1 to 16.

Magic square of first 16 natural numbers

Q.E.D


© Rishabh Bidya





1 comment:

  1. How you find out which number to place in which row or column to get exact value from any of th row and column? that too with out repeating th same number?

    ReplyDelete