We’re rewarding the question askers & reputations are being recalculated! Read more.
2 of 2 deleted 1 character in body

QBIC, 27 26 bytes



g=          set worker var 'g' to
(:+1)           our index (plus one for the ceil() bit)
'\2`            integer divided by 2 (the int div needs a code literal: '..`
~(a-g)%2    IF index - temp result is odd (index 2 minus result 1 = 1)
|?-g        THEN PRINT g negated
\?g         ELSE PRINT g