Magic squares | Recreational mathematics

Prime reciprocal magic square

A prime reciprocal magic square is a magic square using the decimal digits of the reciprocal of a prime number. Consider a unit fraction, 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, 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 72 8 5 7 1 44 2 8 5 7 15 7 1 4 2 87 1 4 2 8 58 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. Other properties of prime reciprocals: Midy's theorem The repeating pattern of an even number of digits [7-1, 11-1, 13-1, 17-1, 19-1, 23-1, 29-1, 47-1, 59-1, 61-1, 73-1, 89-1, 97-1, 101-1, ...] in the quotients when broken in half are the nines-complement of each half: 1/7 = 0.142,857,142,857 ... +0.857,142 --------- 0.999,9991/11 = 0.09090,90909 ... +0.90909,09090 ----- 0.99999,999991/13 = 0.076,923 076,923 ... +0.923,076 --------- 0.999,9991/17 = 0.05882352,94117647 +0.94117647,05882352 ------------------- 0.99999999,999999991/19 = 0.052631578,947368421 ... +0.947368421,052631578 ---------------------- 0.999999999,999999999 Ekidhikena Purvena From: Bharati Krishna Tirtha's Vedic mathematics#By one more than the one before Concerning the number of decimal places shifted in the quotient per multiple of 1/19: 01/19 = 0.052631578,94736842102/19 = 0.1052631578,9473684204/19 = 0.21052631578,947368408/19 = 0.421052631578,94736816/19 = 0.8421052631578,94736 A factor of 2 in the numerator produces a shift of one decimal place to the right in the quotient. 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 × prime−1 / 2): (Wikipedia).

Video thumbnail

Ex: Determine the Reciprocal of Integers, Fractions, and Mixed Numbers

This video explains how to determine the reciprocal of various rational numbers.

From playlist Multiplying and Dividing Fractions

Video thumbnail

Reciprocal graphs 1

Powered by https://www.numerise.com/ Reciprocal graphs 1

From playlist Important graphs

Video thumbnail

Find the Reciprocal of a Square root of a Fraction

#shorts This video explains how to determine the reciprocal of the square root of a fraction. https://mathispower4u.com

From playlist Math Shorts

Video thumbnail

Prime Numbers

"Identify prime numbers."

From playlist Number: Factors, Multiples & Primes

Video thumbnail

Multiplicative Inverse and Reciprocals

http://www.youtube.com/view_play_list?p=8E39E839B4C6B1DE

From playlist Common Core Standards - 6th Grade

Video thumbnail

Why did they prove this amazing theorem in 200 different ways? Quadratic Reciprocity MASTERCLASS

The longest Mathologer video ever, just shy of an hour (eventually it's going to happen :) One video I've been meaning to make for a long, long time. A Mathologerization of the Law of Quadratic Reciprocity. This is another one of my MASTERCLASS videos. The slide show consists of 550 slides

From playlist Recent videos

Video thumbnail

Prealgebra 3.04e - Reciprocals

A brief introduction to reciprocals: The reciprocal of a number, the reciprocal of a fraction, and the fact that any number multiplied by its reciprocal is 1.

From playlist Prealgebra Chapter 3 (Complete chapter)

Video thumbnail

The Prime Number Race (with 3Blue1Brown) - Numberphile

Grant Sanderson discusses a race between two types of prime numbers - and an unexpected result. More links & stuff in full description below ↓↓↓ See all three videos in this series - Grant's Prime Pattern Trilogy: https://bit.ly/PrimePatternTrilogy Grant's own false pattern video: https:

From playlist Prime Pattern Trilogy

Video thumbnail

Prime Factorization

This video explains how to determine the prime factorization of a number using a factor tree. http://mathispower4u.yolasite.com/

From playlist Number Sense - Whole Numbers

Video thumbnail

Ex: Rational Equation App - Find a Number Given the Sum of Reciprocals

This video explains how to solve a number problem given the sum of reciprocals. http://mathispower4u.com

From playlist Solving Applications using Rational Equations

Video thumbnail

700 years of secrets of the Sum of Sums (paradoxical harmonic series)

Today's video is about the harmonic series 1+1/2+1/3+... . Apart from all the usual bits (done right and animated :) I've included a lot of the amazing properties of this prototypical infinite series that hardly anybody knows about. Enjoy, and if you are teaching this stuff, I hope you'l

From playlist Recent videos

Video thumbnail

Euler’s Pi Prime Product and Riemann’s Zeta Function

NEW (Christmas 2019). Two ways to support Mathologer Mathologer Patreon: https://www.patreon.com/mathologer Mathologer PayPal: paypal.me/mathologer (see the Patreon page for details) What has pi to do with the prime numbers, how can you calculate pi from the licence plate numbers you en

From playlist Recent videos

Video thumbnail

"What is the Riemann Hypothesis and why does it matter?" by Ken Ono

The Riemann hypothesis provides insights into the distribution of prime numbers, stating that the nontrivial zeros of the Riemann zeta function have a “real part” of one-half. A proof of the hypothesis would be world news and fetch a $1 million Millennium Prize. In this lecture, Ken Ono wi

From playlist Number Theory Research Unit at CAMS - AUB

Video thumbnail

Markus Rosenkranz Talk 1 7/8/14 Part 1

Title: A Noncommutative Mikusinski Calculus for Linear Boundary Problems

From playlist Spring 2014

Video thumbnail

The Basel Problem Part 2: Euler's Proof and the Riemann Hypothesis

In this video, I present Euler's proof that the solution to the Basel problem is pi^2/6. I discuss a surprising connection Euler discovered between a generalization of the Basel problem and the Bernoulli numbers, as well as his invention of the zeta function. I explain Euler's discovery of

From playlist Analytic Number Theory

Video thumbnail

Mitchell Luskin- Electronic Observables for Relaxed 2D van der Waals Heterostructures at Moiré Scale

Recorded 30 March 2022. Mitchell Luskin of the University of Minnesota, Twin Cities, presents "Electronic Observables for Relaxed 2D van der Waals Heterostructures at the Moiré Scale" at IPAM's Multiscale Approaches in Quantum Mechanics Workshop. Abstract: Many novel 2D structures that can

From playlist 2022 Multiscale Approaches in Quantum Mechanics Workshop

Video thumbnail

Fields Medal Lecture: Cohomology of arithmetic groups — Akshay Venkatesh — ICM2018

Cohomology of arithmetic groups Akshay Venkatesh Abstract: The topology of “arithmetic manifolds”, such as the space of lattices in Rn modulo rotations, encodes subtle arithmetic features of algebraic varieties. In some cases, this can be explained because the arithmetic manifold itself c

From playlist Special / Prizes Lectures

Video thumbnail

Introduction to number theory lecture 2: Survey.

This lecture is part of my Berkeley math 115 course "Introduction to number theory" We continue the survey of some problems in number theory, and discuss congruences, quadratic reciprocity, additive number theory, recreational number theory, and partitions. For the other lectures in the

From playlist Introduction to number theory (Berkeley Math 115)

Video thumbnail

MegaFavNumbers: Plus One Primes, 154,641,337, and 62,784,382,823

My entry in the #MegaFavNumbers series looks at a particularly striking example of a very specific family of primes -- and how it connects to what digits can be the final digit of primes in different bases.

From playlist MegaFavNumbers

Related pages

Cyclic number | Prime number | Magic square | Midy's theorem | Cyclic permutation