DEV Community

loading...

Discussion on: Daily Challenge #130 - GCD Sum

Collapse
avalander profile image
Avalander

You might be right, I had forgotten about that tiny detail.

Update: I tried with an infinite sequence to generate the solutions and the program didn't get stuck in an infinite loop, so you are right, only the first element of the sequence is generated.