Learning Program Synthesis for Integer Sequences from Scratch