DBpedia – Linked Data Fragments

DBpedia 2016-04

Query DBpedia 2016-04 by triple pattern

Matches in DBpedia 2016-04 for { ?s ?p "6174 is known as Kaprekar's constant after the Indian mathematician D. R. Kaprekar. This number is notable for the following property: Take any four-digit number, using at least two different digits. (Leading zeros are allowed.) Arrange the digits in descending and then in ascending order to get two four-digit numbers, adding leading zeros if necessary. Subtract the smaller number from the bigger number. Go back to step 2.The above process, known as Kaprekar's routine, will always reach its fixed point, 6174, in at most 7 iterations. Once 6174 is reached, the process will continue yielding 7641 – 1467 = 6174. For example, choose 3524:5432 – 2345 = 30878730 – 0378 = 83528532 – 2358 = 61747641 – 1467 = 6174The only four-digit numbers for which Kaprekar's routine does not reach 6174 are repdigits such as 1111, which give the result 0000 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:2111 – 1112 = 09999990 – 0999 = 8991 (rather than 999 – 999 = 0)9981 – 1899 = 80828820 – 0288 = 85328532 – 2358 = 61749831 reaches 6174 after 7 iterations:9831 – 1389 = 84428442 – 2448 = 59949954 – 4599 = 53555553 – 3555 = 19989981 – 1899 = 80828820 – 0288 = 8532 (rather than 882 – 288 = 594)8532 – 2358 = 61744371 reaches 6174 after 7 iterations:7431 - 1347 = 60848640 - 0468 = 8172 (rather than 864 - 468 = 396)8721 - 1278 = 74437443 - 3447 = 39969963 - 3699 = 62646642 - 2466 = 41767641 - 1467 = 61748774, 8477, 8747, 7748, 7487, 7847, 7784, 4877, 4787, and 4778 reach 6174 after 4 iterations:8774 – 4778 = 39969963 – 3699 = 62646642 – 2466 = 41767641 – 1467 = 6174Note that in each iteration of Kaprekar's routine, the two numbers being subtracted one from the other have the same digit sum and hence the same remainder modulo 9. Therefore, the result of each iteration of Kaprekar's routine is a multiple of 9.495 is the equivalent constant for three-digit numbers. For two-digit numbers, there is no equivalent constant; for any starting number with differing digits, the routine enters the loop (45, 9, 81, 63, 27, 45, … ). For each digit length greater than four, the routine may terminate at one of several fixed values or may enter one of several loops instead."@en }

Showing triples 1 to 2 of 2 with 100 triples per page.