Computer program for magic squares

This thesis aims to construct a computer program that generates a magic square of any order greater than 2 and less than 181. A magic square is a sqare array of n2 distinct positive integers such that the sum of n numbers lying in any horizontal, vertical, or main diagonal line is always the same. M...

Full description

Saved in:
Bibliographic Details
Main Author: Mirasol, Luis E., III
Format: text
Language:English
Published: Animo Repository 1993
Subjects:
Online Access:https://animorepository.dlsu.edu.ph/etd_bachelors/16098
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: De La Salle University
Language: English
id oai:animorepository.dlsu.edu.ph:etd_bachelors-16611
record_format eprints
spelling oai:animorepository.dlsu.edu.ph:etd_bachelors-166112022-01-27T03:31:07Z Computer program for magic squares Mirasol, Luis E., III This thesis aims to construct a computer program that generates a magic square of any order greater than 2 and less than 181. A magic square is a sqare array of n2 distinct positive integers such that the sum of n numbers lying in any horizontal, vertical, or main diagonal line is always the same. Magic squares can be divided into three types: odd-order magic squares where n - 2m + 1 singly-even magic squares where n = 2(2m + 1) and doubly-even magic squares where n = 2(2m), where n and more positive integers. There are several methods to construct magic squares but only three distinct methods are used in the computer program to construct each type of magic square.Any magic square may be subjected to transformations which affect one's manner of looking at the square. These transformations are generated by two basic operations - rotation through a right angle and reflection in a mirror. Starting from any one magic square, seven additional magic squares may be produced in this manner. Rotations and reflections will also be generated by the computer program. 1993-01-01T08:00:00Z text https://animorepository.dlsu.edu.ph/etd_bachelors/16098 Bachelor's Theses English Animo Repository Computer programs Programming (Mathematics) Magic squares Mathematical recreations
institution De La Salle University
building De La Salle University Library
continent Asia
country Philippines
Philippines
content_provider De La Salle University Library
collection DLSU Institutional Repository
language English
topic Computer programs
Programming (Mathematics)
Magic squares
Mathematical recreations
spellingShingle Computer programs
Programming (Mathematics)
Magic squares
Mathematical recreations
Mirasol, Luis E., III
Computer program for magic squares
description This thesis aims to construct a computer program that generates a magic square of any order greater than 2 and less than 181. A magic square is a sqare array of n2 distinct positive integers such that the sum of n numbers lying in any horizontal, vertical, or main diagonal line is always the same. Magic squares can be divided into three types: odd-order magic squares where n - 2m + 1 singly-even magic squares where n = 2(2m + 1) and doubly-even magic squares where n = 2(2m), where n and more positive integers. There are several methods to construct magic squares but only three distinct methods are used in the computer program to construct each type of magic square.Any magic square may be subjected to transformations which affect one's manner of looking at the square. These transformations are generated by two basic operations - rotation through a right angle and reflection in a mirror. Starting from any one magic square, seven additional magic squares may be produced in this manner. Rotations and reflections will also be generated by the computer program.
format text
author Mirasol, Luis E., III
author_facet Mirasol, Luis E., III
author_sort Mirasol, Luis E., III
title Computer program for magic squares
title_short Computer program for magic squares
title_full Computer program for magic squares
title_fullStr Computer program for magic squares
title_full_unstemmed Computer program for magic squares
title_sort computer program for magic squares
publisher Animo Repository
publishDate 1993
url https://animorepository.dlsu.edu.ph/etd_bachelors/16098
_version_ 1772835059529678848