6174 (six thousand, one hundred [and] seventy-four) is the natural number following 6173 and preceding 6175.
Properties It is a Kaprekar's Constant. 6174 is a 7-smooth number, i.e., none of its prime factors is greater than 7. 6174 can be written as the sum of the first three powers of 18: 183 + 182 + 181 = 5832 + 324 + 18 = 6174, and coincidentally, 6 + 1 + 7 + 4 = 18. The sum of squares of the prime factors of 6174 is a square: 22 + 32 + 32 + 72 + 72 + 72 = 4 + 9 + 9 + 49 + 49 + 49 = 169 = 132
See also 495 (number) — a number also related to the Kaprekar's constant 6174 Polybius — an asteroid which has "6174" in the name
References
External links
Bowley, Roger (5 December 2011). "6174 is Kaprekar's Constant". Numberphile. University of Nottingham: Brady Haran. Sample (Perl) code to walk any four-digit number to Kaprekar’s Constant Sample (Python) code to walk any four-digit number to Kaprekar’s Constant Sample (C) code to walk the first 10000 numbers and their steps to Kaprekar’s Constant