0
Half, Half Half, and, Half
Input n, output nth element of the following number sequence:
1/2, 1/4, 3/4, 1/8, 3/8, 5/8, 7/8, 1/16, 3/16, 5/16, 7/16, 9/16, 11/16, 13/16, 15/16, 1/32, ...
You may choise to output decimal, or, a pair or integers as you like.
Meta: duplicate?
I will finish it ...