Thank you Ziga and Barton, probably i learnt about range using animations with an old version of wxmaxima. I didn't know about integer_sequence. It seems useful. Jeronimo.