Giter Club home page Giter Club logo

non-parker-square's Introduction

Non Parker square finder

Trying to find a magic square of square numbers, see this video about the infamous "Parker square"

This algorithm will try every possible values for the central number of a 3x3 square (up to a given limit), and print every magic squares (with no repeating numbers) it find.

To run this script install node.js, run npm install and then use npm start to try every possible values <= 10000 for the central "un-squared" value of the square. You can also use the first argument to try a higher limit, ex: npm start 50000. I haven't found anything yet :(

Exemple of a correct magic square of squares (but with repeating numbers):

15² 21²
21² 15²
21² 15²

which give

225 9 441
441 225 9
9 441 225

where the sum of every rows, columns and diagonals is equal to 675.

non-parker-square's People

Contributors

lebesnec avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.