generates list of 2, 3 for input 4