Bounds on the Distribution of Smooth Numbers -- Use of Extended Euclidean Algorithm in