Aufgabe:
Wie viele Primzahlen zwischen 1 und 100 gibt es und wie lauten diese?
Code:
prim:[];
for i:1 thru 100 do if primep(i) then prim:append(prim,[i]);
anzahl:length(prim);
display(prim, anzahl);
Lösung mit Omega CAS Explorer:
Lösung mit Maxima Online:
