About 5,280,000 results
Open links in new tab
  1. Magic square - Wikipedia

    The sum of any two magic squares of the same order by matrix addition is a magic square. A magic square remains magic when all of its numbers undergo the same linear transformation …

  2. Check given matrix is magic square or not - GeeksforGeeks

    Aug 4, 2022 · Given a matrix, check whether it’s Magic Square or not. A Magic Square is a n x n matrix of the distinct elements from 1 to n 2 where the sum of any row, column, or diagonal is …

  3. Magic Square of Odd Order - GeeksforGeeks

    May 4, 2025 · Given a positive integer n, your task is to generate a magic square of order n * n. A magic square of order n is an n * n grid filled with the numbers 1 through n² so that every row, …

  4. magic - Magic square - MATLAB - MathWorks

    M = magic(n) returns an n-by-n matrix constructed from the integers 1 through n 2 with equal row and column sums. The order n must be a scalar greater than or equal to 3 in order to create a …

  5. Magic Square Generator/Solver 3x3, 4x4, 5x5… Online Calculator

    A magic square is a grid of numbers arranged so that the sum of each row, each column and its diagonals are all equal to the same value, called the magic sum (or magic constant). Magic …

  6. A magic square is any n x n array of numbers where each of the n2 elements appears only once. Also the sum of the elements in each row, column, and diagonal have the same value.

  7. An n-by-n magic square is an array containing the integers from 1 to n2, arranged so that each of the rows, each of the columns, and the two principal diagonals have the same sum. For each …

  8. Magic Square -- from Wolfram MathWorld

    Apr 30, 2025 · A magic square is a square array of numbers consisting of the distinct positive integers 1, 2, ..., n^2 arranged such that the sum of the n numbers in any horizontal, vertical, …

  9. Ramanujan Magic Square: Uniqueness, How to Construct

    May 4, 2023 · Ramanujan magic square is a special kind of magic square that was invented by the Indian mathematician Srinivasa Ramanujan. It is a 3×3 grid in which each of the nine cells …

  10. How to make a matrix a magic square? - Mathematics Stack …

    Suppose I have a matrix $$\begin{pmatrix} * & 3 & 6\\ 5 & * & 5\\ 4 & 7 & * \end{pmatrix}$$ How can I find the three numbers on the main diagonal such that the sum of the numbers on every …