missing positive and no of ones in integer