fork download
  1. t=int(input())
  2. for _ in range(t):
  3. n=int(input())
  4. j=2
  5. for i in range(n):
  6. print(j,end=" ")
  7. if(i&1):
  8. j+=3
  9. else:
  10. j+=1
  11. print()
Success #stdin #stdout 0.02s 9144KB
stdin
2
3
4
stdout
2 3 6 
2 3 6 7