Featured Post

Hello MaplePrime users,

Yesterday, I posted my MagicPuzzles package to the MapleCloud. It is a collection of tools I have written for manipulating, solving, and visualizing puzzles like Magic Squares and Magic Stars. Here's a sample solution for each:

For the Magic Square, the numbers on each horizontal and vertical line, along with the numbers on each of the two diagonals, add up to 65.

The inaugural version has separate sub-packages for:

  • Magic Annulai (my own name)
  • Magic Hexagons
  • Magic Squares
  • Magic Stars

Moreover, each sub-package contains these commands:

  • Equations(), to return the linear equations for the variables based on the Magic Sum;
  • Constraints(), to return the conditions that prevent redundant solutions found by reflections and rotations;
  • VerifySolution(), to confirm if a list of numbers is a solution;
  • EquivalentSolutions(), to determine solutions equivalent to a given solution;
  • PrimarySolution(), which takes a solution and returns the associated primary solution;
  • Reflection() and Rotation(), to reflect and rotate a solution; and
  • Draw(), to provide a visualization (like the ones above).

There is also a command, MagicSolve(), which is used to find solutions, which take the form of permutations of [1,...n] for some positive integer n, to the equations. Essentially, it solves the linear equations, and cycles through all permutations for the free variables, and selects those that give "magic" solutions.

In future versions, I intend to add:

  • Other specific classes of problems;
  • More sample solutions; and
  • Known algorithms for finding particular solutions.

To install the package, you can do so from here, or just execute the following within Maple 2017+:

PackageTools:-Install( 5755630338965504, 'overwrite' );

There are many examples in the help pages.

I think others will find this package interesting and useful, and I encourage you to check it out.

Featured Post

We’re excited to bring you another Meet Your Developers post. This one comes from Senior Developer, Margaret Hinchcliffe.


  1. What do you do at Maplesoft?
    I work on the software team that develops the user interface for Maplesoft products. In my time at Maple, I’ve worked on Maple, MapleSim, and MapleNet.


  1. What did you study in school?
    I studied Computer Science at the University of Waterloo, in the Co-op program.


  1. What area(s) of Maple or MapleSim are you currently focusing on in your development?
    I’m currently working on MapleNet and on ways to bring Maple functionality to the web.


  1. What’s the coolest feature of Maple or MapleSim that you’ve had a hand in developing?
    I helped develop the feature that lets you embed videos in a Maple worksheet. I thought that was pretty cool.


  1. What do you like most about working at Maplesoft? How long have you worked here?
    I celebrated my twentieth anniversary at Maplesoft this spring. Obviously, I like working here. What I like most is the opportunity to learn new skills in a supportive environment. Our company gym is pretty awesome, too.


  1. Favourite hobby?
    I took up boxing a couple of years ago and I really enjoy it. It’s a great workout and there’s always something new to learn.


  1. What do you like on your pizza?
    Pepperoni, mushrooms, and fresh basil.


  1. What’s your favourite movie?
    The Wizard of Oz. When people say “The book is always better”, I point to this movie as a counterexample.


  1. What skill would you love to learn? Why?
    I’d like to try archery. If nothing else, it would come in handy in a zombie apocalypse.


  1. Who’s your favourite mathematician?
    Alan Turing. He made important contributions to computer science and he helped fight the Nazis.


Thanks Margaret!

Arbitrary sign changes

Maple 2018 asked by deniscr 35 Yesterday

How to plot Contour

Maple 18 asked by basha 666 25 Today