已知2^=x,2^n=y,m,n都是正整数,m>=n,求2^m-n+1

问题描述:

已知2^=x,2^n=y,m,n都是正整数,m>=n,求2^m-n+1

2^m=x,2^n=y
2^(m-n+1)
=2^m*1/2^n*2
=x*1/y*2
=2x/y