Create the vector lin:
(the integers from 1 to 20)
Make every other value in it negative to get:
There is something a little unsatisfying about solving a 'Problem' in which there is no input, and (thus) only one output case required, and where furthermore a valid solution is shown in the Test Suite. This seems to apply to all/most 'Problems' tagged "sttbdp1".
Return the 3n+1 sequence for n
5207 Solvers
721 Solvers
Find the peak 3n+1 sequence value
792 Solvers
Make one big string out of two smaller strings
1070 Solvers
Cell Counting: How Many Draws?
255 Solvers