This section shows some examples using Maple to detect some patterns. In all of these the
main maple function used is patmatch. Some example also show the Mathematica
command to compare results with.
Many of these can be done in Maple without using patmatch command, and even using
shorter code. But these examples are meant to show how to use patmatch.