1000n+500=2^n+1