4 ms·In Haskell: let xs = [x*x | x <- [0..], x `mod` 3 == 0] You can decide later how many you actually want.by yazzku 3y agoIn Haskell: let xs = [x*x | x <- [0..], x `mod` 3 == 0] You can decide later how many you actually want.