An analysis of heliospheric magnetic field flux based on sunspot number from 1749 to today and prediction for the coming solar minimum