I was stuck on 111 for a while, then I reread the thread again and found this post:I tried everytrick I know to get mine to 112.
expected array of 27 items
Anybody else had exactly the same error?

(this is probably cheating
)
Last edited:
I was stuck on 111 for a while, then I reread the thread again and found this post:I tried everytrick I know to get mine to 112.
expected array of 27 items

)(this is probably cheating)
return new Array(27);

inb4
Code:return new Array(27);
But after reading the golf source, that probably won't work![]()
But after reading the golf source, that probably won't work![]()

Haha, I did try something similar with the correct values in the array. It works but takes more than 200 characters to type out the whole array
What are you using as the exit clause for your main loop?
Do you really need that if you know exactly how many times to loop?
I just return when the original number is the same as a calculated sociable number, which makes it an amicable number. Also down to119109.
That's what I had first as well.
The way i'm doing it now, like i said before, is pretty much cheating.
I have worked out what gets passed to my function (1***6) and written code that works specifically with that value - i know exactly how many loops are needed, i know that my calculation of divisors isnt correct but it works, so i can get away with bad code because it happens to work for this specific scenario. Any other value passed to my function would crash it.
. Turned out the request code was longer than my generator. When does this end?I originally tried returning a request from my server using node, since it evals the code. Turned out the request code was longer than my generator. When does this end?
I originally tried returning a request from my server using node, since it evals the code. Turned out the request code was longer than my generator. When does this end?

Was wondering how long it would be till someone found themYou might also want to change the default admin passwords, lol.
. Im mid way through making my changes having few issues as never used node before and time constraints but nodetool for VS makes it very easy to work with node in VS.Was wondering how long it would be till someone found them. Im mid way through making my changes having few issues as never used node before and time constraints but nodetool for VS makes it very easy to work with node in VS.

Another programmer in Bradford, so I'm not alone!