Slashdot Mirror


Amateur Quest For Lychrel Numbers

Habberhead writes "Some people are aware of the quest for a palindromic solution for the number 196. Basically any number that doesn't form a palindrome by reversing and adding its digits is known as a Lychrel Number. (Sequence Number A023108 of Sloan's On-Line Encyclopedia of Integer Sequences) The number 196 happens to be the first of them. In over a year's worth of time, and more than 2 quadrillion calculations, this guy at www.p196.org has reversed and added the number over 100 MILLION times. His current answer is over 41 million digits long! Apparently he and a few others are also working on a distributed computing program for finding larger and larger Lychrel Numbers. It looks like they have in mind a Seti@Home style program with visible results."

7 of 310 comments (clear)

  1. what? by underworld · · Score: 1, Informative

    does someone want to explain this in layman's terms?

    1. Re:what? by cperciva · · Score: 5, Informative

      256 + 652 = 908
      908 + 809 = 1717
      1717 + 7171 = 8888, which is a palindrome.

      However,
      196 + 691 = 887
      887 + 788 = 1675
      1675 + 5761 = 7436
      7436 + 6347 = 13783
      and contining on for a few million digits still doesn't end up at a palindrome.

  2. In a nutshell.... by moniker_21 · · Score: 2, Informative

    Pick a number, any number. Reverse the digits in the number, add those reversed digits to the original number. Does this sum create a palindrome? If not, repeat the process with the new sum. By example:

    87+78 = 165
    165+651 = 726
    726+627 = 1353
    1353+3531 = 4884, a palindrome!

    This article is saying that for the thousands of numbers tested, every one except 196 has exhibited this property.

    --
    I posted to /. and all I got was this stupid sig
  3. Re:Simple Example by cperciva · · Score: 3, Informative

    I posted a story a week ago about the prime number problem being solved for the first time with a deterministic algorithm and it was rejected by /.

    You aren't talking about this by any chance, are you?

  4. Re:Is this really maths? by Anonymous Coward · · Score: 1, Informative

    Oh I suppose you could make it into math if you really wanted to. but you'd have one procedure for base10 and another for other bases. An example of doing it with 4 digit numbers (you could do a Summation of you wanted to do it for n-digit numbers of course). I will be using ascii-ized syntax (% is remainder after division, ^ is raised to the power of) since most browsers do not support the HTML extensions for mathematical expressions.

    Let w = input number
    Let v = resulting palindrome

    v = (((w/(10^0))%10)*10^3) + (((w/(10^1))%10)*10^2) + (((w/(10^2))%10)*10^1) + (((w/(10^3))%10)*10^0);

    I believe that is correct for all cases. if you want to reverse the digits of something mathematically. And I didn't test it on negative values so don't try it.

    Representing a digit-flip as an equations means you could apply the calculus to it and come up with interesting results.

    I don't like the method used in the article because it seems like brute force, where as manipulating some equations seems more elegant.

  5. It's not true, though. by dark-nl · · Score: 3, Informative

    879, 1997, and 7059 also have this property, whatever it is. The guy even explains this on his site. I wonder who he is, and why he doesn't put his name anywhere.

  6. Re:All the apathy here... by Prune · · Score: 2, Informative

    >> By definition the numbers 691, 887, 788, 1675, 5761, 7436, and 6347 must also have the same problem, since they're in the chain following 196.

    Read the article. These numbers don't count exactly because they follow in that chain. Only the seed of a chain counts.

    --
    "Politicians and diapers must be changed often, and for the same reason."