likely to use a machine instruction underneath; prefer this over the current top solution
Hello Blind4Basics and JustForFunCoder et al,
Nice solution and very readable!
elegant
but in this case you shouldn't ask whether it's divisible by 4,8,9 because of negative answers for 2 and 3. therefore, the sequence reduces to 2,3,5,7
UPD: ah, nevermind. I didn't notice the process is non-interactive
Loading collection data...
likely to use a machine instruction underneath; prefer this over the current top solution
Hello Blind4Basics and JustForFunCoder et al,
Nice solution and very readable!
elegant
but in this case you shouldn't ask whether it's divisible by 4,8,9 because of negative answers for 2 and 3. therefore, the sequence reduces to 2,3,5,7
UPD: ah, nevermind. I didn't notice the process is non-interactive