My own solution in my own Mathcad with correct temperare base unit (not kelvin but J/mol) and correct ideal gas law (not p v = R T, but p v = T)
Wath can you say about my own Mathcad?
Assumptions. 1. The bicycle tube does not change its volume when inflated (the tire is quite rigid). 2. The air temperature in the chamber and pump does not change.
I don't know what qualifies as the "best" solution, but here's a totally different approach. I note that, if the temperature is assumed to be constant, the pumping must be done very slowly indeed, as my experience with pumping tyres is that the pump rapidly gets hot!
Here's my attempt. I'd challenge the assumption of a toroid, but that's a detail. The discussions about temperature are moot, imho. You want a pressure defined while you are riding, when any pumping temperature rise has long since dissipated. Pump it up and then check it later. Also the thermal mass of the pump and tire >> thermal mass of air. (and pressure recommendations already take into account any running tire heating, at least for cars) To me the problem is a mass transfer problem.
Answer: 31.6 strokes which seems reasonable since I've pumped up many bicycle tires.
Edit: Had some Z typos.
Edit 2: I just saw the target pressure was 5 atm. So that answer is 91.796 strokes. Which seems high, until I noticed the tire is gigantic at 110 cm diameter.