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