Prime reciprocal magic square

Prime reciprocal magic square

A prime reciprocal magic square is a magic square using the digits of the reciprocal of a prime number.

Consider a number divided into one, like 1/3 or 1/7. In base ten, the remainder, and so the digits, of 1/3 repeats at once: 0·3333... However, the remainders of 1/7 repeat over six, or 7-1, digits: 1/7 = 0·142857142857142857... If you examine the multiples of 1/7, you can see that each is a cyclic permutation of these six digits:

1/7 = 0·1 4 2 8 5 7... 2/7 = 0·2 8 5 7 1 4... 3/7 = 0·4 2 8 5 7 1... 4/7 = 0·5 7 1 4 2 8... 5/7 = 0·7 1 4 2 8 5... 6/7 = 0·8 5 7 1 4 2...

If the digits are laid out as a square, it is obvious that each row will sum to 1+4+2+8+5+7, or 27, and only slightly less obvious that each column will also do so, and consequently we have a magic square:

1 4 2 8 5 7 2 8 5 7 1 4 4 2 8 5 7 1 5 7 1 4 2 8 7 1 4 2 8 5 8 5 7 1 4 2

However, neither diagonal sums to 27, but all other prime reciprocals in base ten with maximum period of p-1 produce squares in which all rows and columns sum to the same total. In the square from 1/19, with maximum period 18 and row-and-column total of 81, both diagonals also sum to 81, and this square is therefore fully magic:

01/19 = 0·0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1... 02/19 = 0·1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2... 03/19 = 0·1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3... 04/19 = 0·2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4... 05/19 = 0·2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5... 06/19 = 0·3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6... 07/19 = 0·3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7... 08/19 = 0·4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8... 09/19 = 0·4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9... 10/19 = 0·5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0... 11/19 = 0·5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1... 12/19 = 0·6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2... 13/19 = 0·6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3... 14/19 = 0·7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4... 15/19 = 0·7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5... 16/19 = 0·8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6... 17/19 = 0·8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7... 18/19 = 0·9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8...

The same phenomenon occurs with other primes in other bases, and the following table lists some of them, giving the prime, base, and magic total (derived from the formula base-1 x prime-1 / 2):

ee also

*cyclic number


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Magic square — In recreational mathematics, a magic square of order n is an arrangement of n2 numbers, usually distinct integers, in a square, such that the n numbers in all rows, all columns, and both diagonals sum to the same constant.[1] A normal magic… …   Wikipedia

  • List of recreational number theory topics — This is a list of recreational number theory topics (see number theory, recreational mathematics). Listing here is not pejorative: many famous topics in number theory have origins in challenging problems posed purely for their own sake. See list… …   Wikipedia

  • List of mathematics articles (P) — NOTOC P P = NP problem P adic analysis P adic number P adic order P compact group P group P² irreducible P Laplacian P matrix P rep P value P vector P y method Pacific Journal of Mathematics Package merge algorithm Packed storage matrix Packing… …   Wikipedia

  • 666 (number) — For the year 666 AD, see 666. List of numbers Integers ← 0 100 200 300 400 500 600 700 800 900 → 666 Cardinal Six hundred …   Wikipedia

  • 27 (number) — ← 26 28 → 27 ← 20 21 22 23 24 25 26 …   Wikipedia

  • 222 (number) — This article is about the number. For the year 222, see 222. For the pain medication known as 222, see Co codaprin. List of numbers Integers ← 0 100 200 300 400 500 600 700 800 900 → …   Wikipedia

  • List of mathematics articles (M) — NOTOC M M estimator M group M matrix M separation M set M. C. Escher s legacy M. Riesz extension theorem M/M/1 model Maass wave form Mac Lane s planarity criterion Macaulay brackets Macbeath surface MacCormack method Macdonald polynomial Machin… …   Wikipedia

  • History of mathematics — A proof from Euclid s Elements, widely considered the most influential textbook of all time.[1] …   Wikipedia

  • numeration — I (New American Roget s College Thesaurus) Counting Nouns 1. numeration, numbering, counting, tally, enumeration, pagination, summation, reckoning, computation, calculation, cybernetics, measurement; statistics, poll, census, roll call,… …   English dictionary for students

  • Europe, history of — Introduction       history of European peoples and cultures from prehistoric times to the present. Europe is a more ambiguous term than most geographic expressions. Its etymology is doubtful, as is the physical extent of the area it designates.… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”