Knowledge

6174

Source ๐Ÿ“

350:
in at most 6 iterations. Sometimes these numbers (495, 6174, and their counterparts in other digit lengths or in bases other than 10) are called "Peyush constants" named after Peyush Dixit who solved this routine as a part of his IMO 2000 (International Mathematical Olympiad, Year 2000) thesis.
100:
after a single iteration. All other four-digit numbers eventually reach 6174 if leading zeros are used to keep the number of digits at 4. For numbers with three identical digits and a fourth digit that is one higher or lower (such as 2111), it is essential to treat 3-digit numbers with a leading
346:
There can be analogous fixed points for digit lengths other than four; for instance, if we use 3-digit numbers, then most sequences (i.e., other than repdigits such as 111) will terminate in the value
70:, 6174, in at most 7 iterations. Once 6174 is reached, the process will continue yielding 7641 โ€“ 1467 = 6174. For example, choose 1459: 567: 52:
Arrange the digits in descending and then in ascending order to get two four-digit numbers, adding leading zeros if necessary.
547: 562: 101:
zero; for example: 2111 โ€“ 1112 = 0999; 9990 โ€“ 999 = 8991; 9981 โ€“ 1899 = 8082; 8820 โ€“ 288 = 8532; 8532 โ€“ 2358 = 6174.
67: 526: 269: 500: 464: 341: 224:
1, 2, 3, 6, 7, 9, 14, 18, 21, 42, 49, 63, 98, 126, 147, 294, 343, 441, 686, 882, 1029, 2058, 3087, 6174
63: 477: 427: 572: 405: 401: 187: 49:
Take any four-digit number, using at least two different digits (leading zeros are allowed).
197: 146: 133: 239: 229: 42: 548:
Sample (C) code to walk the first 10000 numbers and their steps to Kaprekar's Constant
556: 410: 364: 256: 209: 176: 173: 170: 167: 164: 161: 158: 155: 152: 39: 347: 92:
The only four-digit numbers for which Kaprekar's routine does not reach 6174 are
17: 530: 321: 518: 373:
18 + 18 + 18 = 5832 + 324 + 18 = 6174, and coincidentally, 6 + 1 + 7 + 4 = 18.
308: 97: 542: 537: 543:
Sample (Python) code to walk any four-digit number to Kaprekar's Constant
93: 538:
Sample (Perl) code to walk any four-digit number to Kaprekar's Constant
219: 138: 282: 179: 425:
Kaprekar DR (1955). "An Interesting Property of the Number 6174".
295: 36: 370:
6174 can be written as the sum of the first three powers of 18:
378:
The sum of squares of the prime factors of 6174 is a square:
381:
2 + 3 + 3 + 7 + 7 + 7 = 4 + 9 + 9 + 49 + 49 + 49 = 169 = 13
149: 367:, i.e. none of its prime factors are greater than 7. 342:
Kaprekar's routine ยง Definition and properties
320: 307: 294: 281: 268: 255: 238: 228: 218: 208: 196: 186: 109: 55:
Subtract the smaller number from the bigger number.
45:. This number is renowned for the following rule: 8: 446:Kaprekar DR (1980). "On Kaprekar Numbers". 204:(six thousand one hundred seventy-fourth) 393: 106: 192:six thousand one hundred seventy-four 7: 96:such as 1111, which give the result 478:"Kaprekar's Iterations and Numbers" 448:Journal of Recreational Mathematics 25: 335: 1: 519:"6174 is Kaprekar's Constant" 58:Go back to step 2 and repeat. 336:Other "Kaprekar's constants" 62:The above process, known as 589: 339: 128: 527:University of Nottingham 406:"Mysterious number 6174" 66:, will always reach its 568:Mathematical constants 503:, p. 14, Operations. 482:www.cut-the-knot.org 563:Arithmetic dynamics 428:Scripta Mathematica 33:Kaprekar's constant 81:8532 โ€“ 2358 = 6174 78:8820 โ€“ 0288 = 8532 75:9541 โ€“ 1459 = 8082 64:Kaprekar's routine 467:, p. 1, Overview. 402:Nishiyama, Yutaka 333: 332: 124: 123: 18:Kaprekar constant 16:(Redirected from 580: 534: 504: 498: 492: 491: 489: 488: 474: 468: 462: 456: 455: 443: 437: 436: 422: 416: 415: 398: 358:Other properties 250: 246: 111: 110: 107: 21: 588: 587: 583: 582: 581: 579: 578: 577: 553: 552: 517:Bowley, Roger. 516: 513: 508: 507: 499: 495: 486: 484: 476: 475: 471: 463: 459: 445: 444: 440: 424: 423: 419: 400: 399: 395: 390: 360: 354: 344: 338: 329: 316: 303: 290: 277: 264: 248: 244: 203: 182: 144: 143: 134:List of numbers 105: 90: 23: 22: 15: 12: 11: 5: 586: 584: 576: 575: 570: 565: 555: 554: 551: 550: 545: 540: 535: 512: 511:External links 509: 506: 505: 493: 469: 457: 438: 417: 404:(March 2006). 392: 391: 389: 386: 385: 384: 383: 382: 376: 375: 374: 368: 359: 356: 340:Main article: 337: 334: 331: 330: 327: 324: 318: 317: 314: 311: 305: 304: 301: 298: 292: 291: 288: 285: 279: 278: 275: 272: 266: 265: 262: 259: 253: 252: 242: 236: 235: 232: 226: 225: 222: 216: 215: 212: 206: 205: 200: 194: 193: 190: 184: 183: 145: 142: 141: 136: 130: 129: 126: 125: 122: 121: 118: 115: 104:Natural number 103: 89: 88: 84:7641 โ€“ 1467 = 82: 79: 76: 72: 60: 59: 56: 53: 50: 43:D. R. Kaprekar 24: 14: 13: 10: 9: 6: 4: 3: 2: 585: 574: 571: 569: 566: 564: 561: 560: 558: 549: 546: 544: 541: 539: 536: 532: 528: 524: 520: 515: 514: 510: 502: 497: 494: 483: 479: 473: 470: 466: 461: 458: 453: 449: 442: 439: 434: 430: 429: 421: 418: 413: 412: 411:Plus Magazine 407: 403: 397: 394: 387: 380: 379: 377: 372: 371: 369: 366: 365:smooth number 362: 361: 357: 355: 352: 349: 343: 325: 323: 319: 312: 310: 306: 299: 297: 293: 286: 284: 280: 273: 271: 267: 261:1100000011110 260: 258: 254: 243: 241: 240:Roman numeral 237: 233: 231: 230:Greek numeral 227: 223: 221: 217: 213: 211: 210:Factorization 207: 201: 199: 195: 191: 189: 185: 181: 178: 175: 172: 169: 166: 163: 160: 157: 154: 151: 148: 140: 137: 135: 132: 131: 127: 119: 116: 113: 112: 108: 102: 99: 95: 87: 83: 80: 77: 74: 73: 71: 69: 65: 57: 54: 51: 48: 47: 46: 44: 41: 40:mathematician 38: 34: 30: 19: 522: 501:Hanover 2017 496: 485:. Retrieved 481: 472: 465:Hanover 2017 460: 451: 447: 441: 432: 426: 420: 409: 396: 363:6174 is a 7- 353: 345: 247:MCLXXIV, or 120:6175 → 114:← 6173 91: 85: 61: 32: 31:is known as 28: 26: 531:Brady Haran 523:Numberphile 454:(2): 81โ€“82. 322:Hexadecimal 68:fixed point 27:The number 557:Categories 487:2022-09-21 435:: 244โ€“245. 388:References 309:Duodecimal 35:after the 214:2 ร— 3 ร— 7 94:repdigits 573:Integers 274:22110200 220:Divisors 188:Cardinal 139:Integers 270:Ternary 198:Ordinal 283:Senary 257:Binary 251:CLXXIV 234:,ฯšฮกฮŸฮ”ยด 202:6174th 37:Indian 300:14036 296:Octal 287:44330 326:181E 313:36A6 117:6174 98:0000 86:6174 29:6174 348:495 559:: 529:: 525:. 521:. 480:. 452:13 450:. 433:15 431:. 408:. 328:16 315:12 249:VI 177:9k 174:8k 171:7k 168:6k 165:5k 162:4k 159:3k 156:2k 153:1k 533:. 490:. 414:. 302:8 289:6 276:3 263:2 245:V 180:โ†’ 150:0 147:โ† 20:)

Index

Kaprekar constant
Indian
mathematician
D. R. Kaprekar
Kaprekar's routine
fixed point
repdigits
0000
List of numbers
Integers
โ†
0
1k
2k
3k
4k
5k
6k
7k
8k
9k
โ†’
Cardinal
Ordinal
Factorization
Divisors
Greek numeral
Roman numeral
Binary
Ternary

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

โ†‘