If a circle passes through the points of intersection of the coordinate axes with the lines λx−y+1=0 and x−2y+3=0, then the value of λ is