Table[n+4 -2floor((n+4)/4), {n,0,20}]