Alec Mihailovs

Dr. Aleksandrs Mihailovs

4470 Reputation

21 Badges

19 years, 297 days
Mihailovs, Inc.
Owner, President, and CEO
Tyngsboro, Massachusetts, United States

Social Networks and Content at

Maple Application Center

I received my Ph.D. from the University of Pennsylvania in 1998 and I have been teaching since then at SUNY Oneonta for 1 year, at Shepherd University for 5 years, at Tennessee Tech for 2 years, at Lane College for 1 year, and this year I taught at the University of Massachusetts Lowell. My research interests include Representation Theory and Combinatorics.

MaplePrimes Activity

These are Posts that have been published by Alec Mihailovs

Huffman coding can be implemented in Maple similarly to Python.

First, we need a set of character frequencies. It can be created from a string using the following procedure,


For example (used in the wikipedia article),

Try following,

Factor(a^4 + a^2*b^2 + b^4 + a^2*b*c + a*b^2*c + a^2*c^2 + a*b*c^2 + 
    b^2*c^2 + c^4) mod 2;

I couldn't get an answer in a reasonable time and interrupted calculations.


About a year ago I posted about the following bug - check your files, any image that you posted, Get code for different size, Medium Image.

The code has double </a> at the end, i.e. </a></a> which is wrong. It should be only one </a> at the end.

Now, not only that bug was not fixed  (how hard that could be, really?), but I also wasn't able to find my post about it - very probably it was just deleted instead of fixing the bug.


The following seems to be putting Maple into an infinite loop, and I wasn't able to stop it by pushing the Interrupt button,



With some recent additions to the Maple language, such as ~ in Maple 13, it would be natural to return to the basics and add two other standard in other languages constructions.

First, I would like to be able to write something like s += 1; instead of s:= s+1; as well as as s*=2; instead of s:=s*2;

Second - switch. That was discussed a couple of times earlier on this site, I think.


4 5 6 7 8 9 10 Last Page 6 of 23