n := 0; repeat n := n + 1; Print(n, "\n"); until RemInt(n, 6) = 0;