title: initialize array in maple
body: <p>I am trying to generate an array containing the sum of squares from 1 to an arbitrary k. For this, I've currently invoked another function within my loop as:
  mylist[k]=function(k) but keep getting an out of bounds error. 
  How can I initialize an array of a given size(say n) in Maple?</p>