The Bent has a core. Both this core and the mantle sit on a platform. The width of the core is 300 cubits and the width of the core-plus-mantle is 360 cubits at the level of the platform. This seems to have been intentional in order to create a 6:5 ratio. (Curiously, Sahure's pyramid at Abusir has a seked-resistant slope of 6:5.)
The platform for the Bent as a whole is situated a little above the level of the courtyard, i.e., the space between the pyramid and the surrounding wall. The casing blocks of the mantle extend below the level of the platform the extra cubit in each direction such that the width of the Bent pyramid becomes 362 cubits. (There is a drawing of this in Dorner's article in Gottinger Miszellen, iirc.)
The outside length of the enclosure wall is 560 cubits. This happens to be twice the height of Khufu's pyramid, and 4/3 times the width of the Red pyramid. (Combine the width of the Red with the height of Khufu's pyramid and see what you come up with. You get an archetypal 4:3 pyramid whose dimensions are exactly 3 times those of Userkaf's pyramid.)
Legon's explanation for the two measures of 360 and 362 is this. The 362 cubits means the distance from the base of the pyramid to the OUTSIDE of the enclosure wall (ignoring its 5-6 cubit thickness) is 99 cubits. This means that the (diagonal) distance from the corner of the pyramid to the corner of the enclosure wall is very exactly 140 cubits. This renders a sqrt 2 value of 140:99. This value of sqrt 2 is also rendered in the "half-area level" (the level of the king's chamber) of Khufu's pyramid and in the base:diagonal ratio in Userkaf's pyramid.
Legon and Dorner had a face-off in Gottinger Miszellen in the 1990s over the measurement of the Bent Pyramid. Legon wrote an article, Dorner replied in a second, then Legon replied in the third. I think Legon's stuff is on the web.
What we see is an association of sqrt 2 and the 3:4:5 triangle that runs through several pyramids and that provides a compelling case for their knowledge of the Pythagorean theorem in the 4th dynasty.