in reply to (Efficiency Golf) Triangular numbers
There is no need for the program to run very long. A paper and pencil puzzler will beat your 'running for many hours' program.
I will not post the solution here, but I will provide a link to the program. It's about 80 lines, but more than half of the lines are comments.