The Buenos Aires constant
The Endeavour 2025-02-18
Summary:
The Buenos Aires constant is 2.92005097731613… What’s so special about this number? Let’s see when we use it to initialize the following Python script. s = 2.920050977316134 for _ in range(1, 11): i = int(s) print(i) s = i*(1 + s - i) What does this print? 2, 3, 5, 7, 11, 13, 17, 19, […]
The post The Buenos Aires constant first appeared on John D. Cook.