arbitrary length input



Hi,

how can I define a function, say lcm,
with an input of arbitrary length, e.g.:
lcd(2,3), lcm(4,5,6,6)?

   Thanx in advance

  Fabrizio Caruso