I got the time out fixed and my results numbers are good. Still won't verify....? Keeps saying: "The getNumbers method must return the array of numbers that satisfy the task conditions." Here are the results I get with 1000 and 1000000. But I have also run a couple of bigger numbers as well. So I am a bit baffled.
[1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407]
memory 492
time = 0
[1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727, 93084, 548834]
memory 2734
time = 0

Process finished with exit code 0