Question: what is relationship between magnetic field and distance?
Answer: The magnetic field from a wire decreases with distance from the wire. Instead of the field being proportional to the inverse square of the distance, as is the electric field from a point charge, the magnetic field is inversely proportional to the distance from the wire.