Observe the following numbers and find out the nth number according to the rule What are the reasons for 1 in 2, 3 in 4, 7 in 8 and 15 in 16

Observe the following numbers and find out the nth number according to the rule What are the reasons for 1 in 2, 3 in 4, 7 in 8 and 15 in 16

2=2¹
4=2²
8=2³
The numerator is one less than the denominator
The nth number is: (2 ^ n-1) / 2 ^ n = 1-1 / 2 ^ n