TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual




A range is a finite sequence of integers which is another special kind of list. A range is described by its minimum (the first entry), its second entry and its maximum, separated by a comma resp. two dots and enclosed in brackets. In the usual case of an ascending list of consecutive integers the second entry may be omitted.


L := [1..100]; # list of all positive integers less than or equal to 100
L := [2,4..100]; # list of all even integers between 2 and 100
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group