"The device you're referring to is likely the "Kaprekar Machine" at the Exploratorium in San Francisco. It's an interactive exhibit demonstrating Kaprekar's Routine and the convergence to the number 6174 through mathematical operations on a four-digit number." (ChatGPT 3.5)