Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() = (3542..15876).filter {
- (it % 2 == 0 || it % 9 == 0) &&
- it % 11 != 0 &&
- it % 13 != 0 &&
- it % 17 != 0 &&
- it % 23 != 0
- }.run { print("$size ${last()}") }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement