The code is performing the first one:
aryOut = {1,1,3,2,5,3,7,4,9,11}