Implemented a slightly better solution which computes each multiple directly, instead of checking each number in sequence