static L sqrt2progression_int(int n, double startValue) { L l = emptyList(n); double x = startValue; for i to n: { l.add(iround(x)); x /= sqrt(2); } ret l; }