put your number in by pressing the 1 button and stop it by pressing the z button then it will find each prime decomposite bit by bit.
thought of it in my sleep, it's what got me started on scratch, this was actually my first game made I just shared the other 3 at the same time.