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."
does someone want to explain this in layman's terms?
That pretty much sums it up.
His website is a great treasure chest of information for folks looking to do this in their spare time. He seems to be pretty level headed, but just gets off on this.
So why search for these numbers?
Confused...I am...
H&Ks Garf
196+691 = 887 (which is not a palindrome)
Apply the same for 887, 887+788 = 1675 (not a palindrome)
Apparently, you can go on forever like this without ever reaching a palindrome!
152, on the other hand, which I picked randomly, quickly reaches 707 which is a palindrome.
Personally, I don't find this interesting at all. 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 /. OOPS! Did I just go offtopic? Sorry, mods!!!
All your favorite sites in one place!
I'm rather partial to odd occurences, patterns and facts about numbers and number theory. But I could not find anything on any of the linked pages that could explain why this is interesting. All it seems to be is a variation on: 'well if you take this really convoluted and arbitrary iterating test, every number will work with enough iterations. Except for this one number.' It seems to me that just about any arbitrary iterating test will work for all numbers except for a handful. In order to differentiate the test there must be something unique about it. Are the numbers useful? Do the numbers correspond with numbers found by another test, like every other prime number or something? If not it's just very complicated numerical eeny-meenie-minie-moe.
stipe42
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
What are some real-world applications that this process generates?
Maybe some psuedo-random number generation with the huge strings of numbers that this comes up with?
Any way that this could be used in some sort of encryption?
There HAS to be some useful purpose to this.. There must be, or it wouldn't be the way it is! *twitch, twitch*
-Matt
Seems to me their palindrome test is a bit limited, since they only appear to be testing base-10 numbers. What's the use in that? Why not test base-2 or base-16 or whatever? Probably because there is no useful application to this arithmetic curiosity?
Can someone out there explain what, if anything, is the mathematical significance of Lychrel numbers? I understand the basic definition, but I'm not sure what is gained by showing a particular number is or isn't a Lychrel number.
Come test your mettle in the world of Alter Aeon!
Could you use this process for compression? numbers that are palindromes could be expressed as the smallest root number.
thank God the internet isn't a human right.
I found the website to be rather interesting - I remember discussing this in a finite math course many years ago but we spend only like 10 mins on it.
I thought it was great that someone without a lot of math background but a hell of a lot of energy could jump right in and make a difference. I have a great education and background and haven't done as much. I feel ashamed. I gotta start rockin!
It was funny that he doesn't fully understand the math, the programs and still gets things done. He just gets programs that others have created and puts them to use. A math research script kiddie. There should be a website for this. Dump off your interesting math code and people can download and run those that are interesting.
It seems to me that this is the wrong kind of approach to this problem. They would be much better trying to find a generalised proof. You can search as high as you want but you can never prove that the next iteration will not yield a palindromic number otherwise. The difficult part to me seems to be to describe the problem in a simple mathematical form that can be analysed.
were you expecting to see a sig here? perhaps you'd rather see the inside of an ambulance!
Well, I guess this falls into one of those, "I couldn't hurt anything, and if they enjoy doing it, then so what?"
Who knows, maybe someone will think of an application for it. Base two wasn't particularly relevant before binary computers came about, stuff like that.
I've had enough abrasive sigs. Kittens are cute and fuzzy.
This may seem like a trivial and silly waste of time, and it probably is, but the number 196 is interesting. Why? Read this quote:
Whether all numbers eventually become palindromic under this process is unproved, but all numbers less than 10,000 have been tested. Every one becomes a palindrome in a relatively small number of steps (of the 900 3-digit numbers, 90 are palindromes to start with and 735 of the remainder take less than 5 reversals and additions to yield a palindrome). Except, that is, for 196. This number had been carried through 50,000 reversals and additions by P. C. Leyland, yielding a number of more than 26,000 digits without producing a palindrome. Later, P. Anderton continued the process up to 70,928 digits without encountering a palindrome.
ALL numbers up to 10,000 become palindromes very quickly... except for the number 196?
Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
But that doesn't mean it can't be useful later. A great example of this is the logarithm. Always nice now that it's used in seismology and understanding computer performance, huh? Yet all it was useful for until the 20th century was slide rules.
Karma whorin' since 1999
but the lameness filter blocked me. Dammit!
sulli
RTFJ.
I don't think this is a mathematical problem... reversing the digits in a number isn't a mathematical procedure, is it? I don't think there is a mathematical relationship between one particular number and another which has the same digits in reverse. Why should there be? That's like thinking that spelling a word backwards will give you a word with the opposite meaning. I think this situation is just a coincidence, and the only meaning is related to the appearance of the numerals themselves rather than any property of palindromic numbers.
The number 196 NEVER becomes a palindrome, no matter how many iterations you do. I have assuredly found an admirable proof of this, but the Post Comment box is too narrow to contain it.
(Apologies to Fermat.)
This seems like an absurdly irrelevant number study, but it is intriguing from a purely number theory perspective.
In any case, what is the mathematical function for inverting the digits of a decimal value? (i.e. 192 -> 291). I'm not including textual "move the digits around". I hardly am concerned with number theory anymore, but this does intrigue me.
No I just have to go count the tiles...
I think that my "extra" CPU cycles would be much better put toward distributed AIDS or cancer research. SETI seems somewhat of a waste of time, pedantic stuff like this even more.
-- You are in a maze of little, twisty passages, all different... --
Thank goodness it's not the number 42...I'd be on my way to the local pub, towel in hand, if it was!
This is not a dream, not a dream...we are transmitting from the year 1-9-9-9.
This site doesn't seem to be much. He seems to have found that the numbers will generally come to make a palindrome over time. This is something cute but nowhere on the site does he even try to explain relevance to anything. In addition, this guy doesn't seem to know much of anything with math. He considers infiniti a number, he is suprised by obvious things, etc. He reminds me of the Greek philosophers before science as we know it came to be. He thinks whether something makes sense rather than taking it step by step in a proof (or for the simplicity of explaining it, a pseudoproof).
The number 196 happens to be the first of them. How about 158? 158 + 851 = 1009, which isn't a palindrome.
matula
yah, we could use base 36 (digits + 26 letters) and try to get "racecar" out of it.
Buying a Dell computer is equivalent to dropping the soap in a prison shower.
care to elaborate? That sounds interesting.
stipe42
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.
What IS a palindrome? I saw that it is something with the same number? Can someone please make it clear to me? Thanks.
If anyone has some time to waste, it'd be fun to create a fractal drawing of it. Well it's not really a fractal, since it's integer, but anyway. It'd be only a single line of pixels (or a symmetric 2d reflection), and the color code represents how many iterations it took to reach a palindrome. I'm guessing it may not look real spectacular, but who knows...
DZM
Excuse me for possible retardation, but surely distributed Lychrel number algorithms *cant* exist? The equation is recursive and therefore each calculation requires the knowledge of the number before it... And so, only one thread even can be used to process this with one instruction (add).
It gets to be more questionable when they talk about a "SETI@Home" type of distributed application : For something so thoroughly useless, that is nothing more than an absurd waste of electricity (and it is a waste of electricity: Computers are left on when they would have been turned off, and barring that the CPU is actively consuming power rather than the dramatically lower power usage halt instruction which it would be running normally).
Did he ever bother to check if they're the palindromic result of a smaller non-Lychrel number?
I'm almost sure the answer to all of this has to do with Nature's Harmonious Time Cube.
My deviantArt site
So the iteration, when seeded with 196 or whatever, can run endlessly without becoming a palindrome (in base 10)...and this is the only one found under 10,000. Isn't that because after 10,000, the numbers are just too large to realistically luck out like that? After all the iteration practically doubles every time. That would get your needle in a haystack quick enough. Are we supposed to be helping or hurting the terrorists with this?
Yeah, that is a little more questionable when you start talking about opportunity cost, but when you get down to the basics, there are a lot of useless pursuits that waste resources but make people happy in some way.
Car audio springs to mind. Think of all the gasoline wasted by burning an extra 500 watts all the time. Unless you are going to go facist on people and tell them they can't waste their time and money with things that don't really benefit society, then you really can't say much about something like this.
I've had enough abrasive sigs. Kittens are cute and fuzzy.
(196) 11000100 + 00100011 = 11100111
Well if your gonna check for palindromes in binary then you should be adding and flipping digits in binary also.
1 11.b
But scarily enough, if we invert that bastardized conversion and add in binary while checking in base 10...
196 d
11000100.b
11000100 + 00100011
101010010101111111001111.b
101010010101111111001
11100111 d
A Freakin decimal palindrome on the first addition. WiErD mathematics.
*** DRINK MORE COFFEE ***
oops the microsoft calculator did an evil thing to me.. Guess I dont know how to add any more.
:P
But actually its
11000100.b + 00100011.b
11100111.b
which is a binary palindrome. Like most binary addition probly ends up.
*** DRINK MORE COFFEE ***
This is not pure mathematics, as it relies on the numbers being represented in a certain base.
Number theory per se is considered part of pure mathematics, the N in NIGGERS. When my number theory book defined some basic concepts in terms of first principles, it defined "base" soon after it defined "multiplication". It roughly went like this: The base b representation of the positive integer n is a finite sequence of non-negative integers less than b such that the last element x > 0 and the sum[i = 0..n-1](x[i]*b^i) = n.
This statement about 196 and base 10 is a statement about sequences of numbers.
Will I retire or break 10K?
I have assuredly found an admirable proof of this, but the Post Comment box is too narrow to contain it.
I suspect that you're either bluffing or just making a bad joke analogous to the DMCA jokes, the Beowulf jokes, the "All Your Base" jokes, the "2. ???; 3. PROFIT!" jokes, the "Priceless" jokes, etc. that get moderated to -1 on Slashdot.
On the other hand, if you really do have a proof or disproof of the existence of Lychrel numbers, then fire up Emacs, make a web page outlining your proof, and post it on a public server. Go to GeoShitties if you have to. Leave the finest details to the reader if you have to. Pure mathematicians want to see it. Bad.
Will I retire or break 10K?
This effort is interesting for its hack value, but it seems to me that 196 isn't special so much as a "Lychrel" Number but as an input to the formula. That is, a prime number clearly has a unique and specific mathematical property, but 196 is just .. 196.
... the length of any substring of the resulting digits that are numerically ascending or adjacently equivalent is a prime number. Bonus points if there is more than once sequence in the result that is a prime number.
I propose a different formula. Take a number, multiply it by the reverse of itself (instead of adding it) and then, oh, subtract the original number plus its reverse, and repeat until you have, hmm
This is a made-up-while-typing-in-the-slashdot-comment-box problem, yet you could have whole web sites dedicated to the search for these 'special' numbers. But are they really 'special' numbers?
BTW, I searched the site and Google but didn't find any indication of *why* the name Lychrel was chosen, only the blackboard entry where they were first named.
It is indeed an arbitrary definition of palindrome. Try doing this in binary:
196 (Dec) = 1100100 (Bin)
1100100 + 0010011 = 1110111
However, there may be different sets of Lychrel numbers in different bases. (I don't know, this is the first time I've heard of Lychrel numbers.)
"Screw causalilty!" -- Prof. Farnsworth
Is the set of all palindromic numbers of the same 'size' as all natural numbers?
As the primary author of the distributed Lychrel search, I would like to point out a few things (I have paraphrased all "quotes" below based on a perusal of comments so far)...
Does this have any use?
Absolutely none. If you have a use, let us know. Otherwise, it doesn't really have any application. We *have* discovered that iteration of reverse-and-add has fractal nature, does that at least get us a few "coolness" points?
This won't work, the algorithm has too much serial dependancy.
Wrong on two counts. First, the core concept of reverse-and-add *does* yield to parallel implementation (Jason Doucette worked through this one, and has come up with a *really* elegant solution). Second, searching for Lychrels does not involve "deep" iteration of reverse-and-add. It only requires taking a *lot* of numbers to a certain arbitrary depth (10000 digits more than suffices at the starting value range we currently can deal with). So, although deep iteration takes some work to efficiently parallelize, Lychrel searching gives a nearly linear speedup with the CPU count.
Why limit yourselves to base-10?
For the simple answer, all lower bases have trivial proofs of either an infinite number of non-terminating sequences, or no known non-terminating sequences. This makes base-10 the lowest "interesting" base to work in. Of course, the question strikes me as odd... Why not ask why we use base 10 for counting? Why not base 2, or 7, or 60? Just as meaningful of a question.
What does "Lychrel" Mean?
196 exists as the lowest (base-10) number that does not seem to terminate on iteration of reverse-and-add, but not the only one. Obviously, any consequent of 196 (such as 887) will also never terminate. Other numbers also never terminate, such as 879, and they never converge with the series generated by earlier numbers either. So, needing a name for these numbers, Wade VanLandingham picked the word "Lychrel" (pronounced la-shrel), and the active 196 community accepted it into common use.
And, the big question...
Can I run your distributed client?
Yes and no. First of all, it will take me about another 3 weeks of development to finish the client (the server program already works adequately, for now). Second, our currently available server machine can only handle around 100 clients, and just within the 196 community we have offers to run about half of those already.
So, although we will gladly consider offers to run the client, as our single biggest need for help we require a nice server with a fat pipe. The actual bandwidth needed won't go that high, but the total could (our next data set, 1E10, we predict will take 20-40MB of traffic. The 1E11 set will take up to 17 times that, and so on... It grows quickly).
Additionally, most Slashdot readers run Linux. Although I plan to write a Linux client, at the moment my optimized reverse-and-add routine only builds under Windows (mostly because I hate AT&T syntax assembler, I actually prefer coding for Linux otherwise). So, if anyone wants to volunteer to convert a 250+ line inline assembler function (with MMX) from intel format to AT&T, drop me a line (you would of course get full credit for your contribution).
Umm... That seems to cover most questions.
http://www.mathpages.com/home/kmath312.htm
"player 4 hit player 1 with 0 stroms"
Of course this is only relevant depending on base ten numbers. You milage will vary depending on the base.
It is a quirk of numbers based on the nuances of the notation system you are using, and as such is amusing for some.
I imagine there may be more palidromes in a base two system, vs, say, a base 666 system. (to choose an arbitrary base).
Oddities of this sort of thing might have some usefulness in offbeat cryto systems, but beuyond that ...
"It is a greater offense to steal men's labor, than their clothes"
Binary computers actually arrived on the scene over 200 years after Boolean algebra was invented and refined by George Boole and first presented in a paper by him in 1854.
"Boole's system of logic is but one of many proofs of genius and patience combined." was how De Morgan commented. It is not recorded how many whiny teens said "so what".
It's first real practical use was for telephone switching.
There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
There is a very nice account of one famous
r ee years.html
computer geek's battle with this number.
http://www.fourmilab.ch/documents/threeyears/th
The account reminds me that computers are more
for just word processing and surfing the web. We
can explore interesting and amusing phenomenon
with them. I wish I weren't so jaded.
Would this, actually? If so, it's a shame. That's an obvious case for tail-recursion elimination. I guess perl doesn't demand this like scheme does?
Will parrot support the ability to do stack-based tail recursion elimination? I know that this has been one of the big pains of java-based scheme implementations: For security reasons, it's hard to mess with the stack in the apppropriate ways. Right? Cause that code needs only constant stack space, right?
It'd be a shame if this new technology everyone is investing so much in... OK, I meant parrot, that apparetnly perl 6 will be based on... Is not going to have hooks to support that type of optimization that doens't just improve coefficients, but takes you from O(n) to O(1)...
I'm not familiar with this problem, so what I'm going to say is probably well known to students in the field.
It seems like the best way to produce a palindrome on the next step is for the sum of the kth digit and the kth-from-the-end digit to be less than 10. Then there will be no carries and we get a nice palindrome.
For random numbers, the chance of this being true is 1/2 for each digit in the first half of the number. Therefore with a number of length 2n digits, the chance that it will be palindromic on the next step is 1 in 2^n. (That' s one in two-to-the-nth power.)
If a number is not a palindrome on one step, it will become about one digit longer from the reverse-and-add. So at each step that it is not palindromic, the chance that it ever will become palindromic decreases.
From this perspective, it's not surprising that most small numbers become palindromes after a few steps, but that as we get to larger numbers we will find more and more that seem to never become palindromic. After some length the chance of ever again getting a palindrome is so remote that there is no point in continuing - your computer is more likely to make a mistake than for the number to happen to have the special form that can create a palindrome.
196 just happens to be a number which "gets lucky", it escapes out of the small-number region where most form palindromes. Once you get past a dozen or so steps you'll probably never get a palindrome.
There doesn't have to be anything special about 196, it's all a matter of chance and odds.
That's how I see it, anyway.
While I've been wating for the film to start I came up with this....
:/.
:-)
The only problem is doesn't work when the numbers are _really_ large (like hundreds of characters long), I think that's an issue with one of the functions
#!/usr/bin/perl
# Stupid Perl script to find Lychrel numbers.
# Yeah yeah inefficent, but very quick and easy to write
# Iain Collins, iain_collins@mac.com
use Math::BigInt;
use Strict;
my $start_number = $ARGV[0];
print "Searching For Lychrel Number, starting at: $start_number....\n";
my $forward_number = $start_number;
my $reversed_number = reverse($forward_number);
my $result;
my $result_tmp;
my $i = 0;
my $count = 0;
while ($i == 0) {
my $n = Math::BigInt->new($forward_number);
$count++;
$result = $n->badd($reversed_number);
$result =~ s/\+//g;
$forward_number =~ s/\+//g;
$reversed_number =~ s/\+//g;
print "$count: $forward_number + $reversed_number = $result\n";
$result_tmp = reverse($result);
if ($result_tmp == $result) {
print "Palendrome Found?\n";
$i++;
}
$forward_number = $result;
$reversed_number = reverse($forward_number);
}
In a nutshell, you start with a composite number, write down the prime factors in decimal in ascending order of size and so get a new number, which may either be prime or composite. If prime, then this is the Home Prime of the number you started with. If composite, repeat.
All the numbers below 100 reach their Home Primes rather quickly - except for 49 (and thus, 77). This one is expanded to 95 steps by now and has grown into a 194 digit number which is becoming increasingly difficult to factor. The last 15 steps of this sequence were done by Paul Leyland of Microsoft Research, Cambridge, and myself. The 95th step is factored down to a 153 digit composite which we are struggling with right now. See Patrick De Geest's page for the current status of this problem.
A difference between Home Primes and the 196 problem is that Home Primes can be shown to exist for every number - the probability that no Home Prime is found in as the number of expansion steps goes to infinity converges to zero. It is, however, quite possible that the number gets too large to factor with today's resources before the Home Prime is found. (That seems to be happening in the 49 case right now.) AFAIK no guarantee of a terminating sequence exists for the Palindrome problem, it is possible (and likely) that the 196 sequence spins off into infinity without ever becoming palindromic.
As far as I can tell, there is no practical use for either Palindromic numbers of Home Primes. It's just recreational - a way to spend spare time no better or worse than board games or sports on the TV. Except it involves massive amounts of cpu time and pretty advanced algorithms (i.e. ECM and GNFS) - the study of which I find extremely intriguing. It's probably one of the geekiest ways to spent your time (not that I were proud of that, I merely can't help it).
Alex
Heisenberg may have been here
Okay, so it's late and I was tired... but the first thing I tried when I reached for a calculator was reversing 196 (=691) and adding the sum of the digits (1+9+6). Adding them both together gives 707 (a palindrome).
Spooky or what?
But seriously, could this have anything to do with why it may have this odd property?
Of couse, was using "==" to check for matches (Perl wiggs out at this). Testing for matches by treating the values as a string works fine. (i.e. by using "eq" instead of "==").
:-)
This versions works, even with ReallyBigNumbers...
#!/usr/bin/perl
# Stupid Perl script to find Lychrel numbers.
# Yeah yeah inefficent, but very quick and easy to write
# Iain Collins, iain_collins@mac.com
use Math::BigInt;
use Strict;
my $start_number = $ARGV[0];
print "Searching For Lychrel Number, starting at: $start_number....\n";
my $forward_number = $start_number;
my $reversed_number = reverse($forward_number);
my $result;
my $result_tmp;
my $i = 0;
my $count = 0;
while ($i == 0) {
my $n = Math::BigInt->new($forward_number);
$count++;
$result = $n->badd($reversed_number);
$result =~ s/\+//g;
$forward_number =~ s/\+//g;
$reversed_number =~ s/\+//g;
print "$count: $forward_number + $reversed_number = $result\n";
$result_tmp = reverse($result);
if ($result_tmp eq $result) {
print "Palendrome Found?\n";
$i++;
}
$forward_number = $result;
$reversed_number = reverse($forward_number);
}
.... erm ... yeah... but why? Do they expect to find a message from God... or?
If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
...is actually 196!
Damn! I've been worshipping the wrong number all this time!
If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
the sources
we discovered a new way to think.
As you've pointed out, every palindromic natural is a natural therefore set of all palindromic naturals is smaller or equal in size to the set of all naturals.
For any natural, reverse its digits and concatenate into a palindromic natural. This doesn't give you every palindromic natural, but it shows that the set of all palindromic naturals is larger or equal in size to the set of naturals.
Thus, the set of palindromic naturals is either smaller or equal in size to the set of all naturals and it's either larger or equal in size to the set of all naturals. It follows that it's equal in size.
Yeah, I'm sure 196 is meaningful in base 10. And maybe something else is meaningful in base 14 or whatever. Unless god works in decimal I don't see much significance in this other than interesting artefact of our number system. Still, if someone could create a proof...
In order for addition of a digits-reversed number to yield a palindrome, there must be no carries in the addition and hence each pair of digits must sum to 9 or less.
This is an assertion from John Walker's Three Years Of Computing . Several other sites reference this statement and it appears to be over generalized. Certainly for any addition of this form the sum is a palindrome but not all digit-reversed sums that are palindromes are of this form. For example conside
74 + 47 = 121
or
7744 + 4477 =12221
These are only a few counter examples. There may be some general rule on how to generate all such numbers.
I hope this statement isn't fundemental in any greater works.
Being the insane geek I am, I quickly whipped up a Perl script that I *think* works. I tested it with an example given (87), and got 4884, which is correct.
The program will print out the number of time's it's looped (the number of numbers it's tried), and then what the number is. Every million numbers (I wanted it to be big enough that it wasn't printing out miles of crap, but small enough that I got occasional outputs to know what it was up to), it prints out the time elapsed, the number of repititions, and the current number.
#!/usr/bin/perl
$in = $ARGV[0];
for ($x = 1; $x <= $in; $x++) {
$reverse = reverse($in);
$in = ($in + $reverse);
$back = reverse($in);
if ($in == $back) {
print "$x\t$in\n";
exit;
}
if ($x % 1_000_000 == 0) {
$time = (time - $^T);
print "\tat $x... $time sec elapsed... $in\n";
}
}
# the end...
Constructive criticism and whatnot is welcomed. (And yes, I know, my variable names suck...)
________________________________________________
suwain_2
What's so special about base 10, other than that most of us have 10 digits on our hands? (Devil's advocate)
Numbers patterns become interesting when they can be mapped to real-world phenomena where the phenomena closely "follow" the patterns.
Has anyone tried to find "Lychrel Numbers" on other bases?
-gps
This webpage has some of the longest delayed palindromes ever found. It's fun reading, too. This guy has programmed a lot of interesting stuff in his CS "career" so far ;)
http://www.jasondoucette.com/worldrecords.html
--- Eat my sig.
It is not recorded how many whiny teens said "so what".
:)
Haha, now with the modern marvel of Slashdot, the "so what" score of any new idea can be qutified and archived for history.
"Slashdot's system of comments is but one of many proofs of ignorance and impatience combined."
I've had enough abrasive sigs. Kittens are cute and fuzzy.
Assuming that there is any significance to such numbers is wasteful. As if the base 10 numbering system is the root of the universe....
well, duh, yes, OBVIOUSLY if N is Lychral so is its reversal R and iteration N+R :p how could anyone slip into thinking (or writing) 196 was the only one less than 10000 ??
I remember reading about this in a magazine from 1984. 'Twas The Transactor, volume 4 issue 6. It includes an implementation for the 6502, though it gives up after 255 digits. And it's less than 196 bytes. Get with the times. ;)
Anyone want source?
The plot showing the sequence of iteration-to-palindrome depths for each integer is available here.
The Lychrel numbers (iteration depth>10000) are colored red. Interesting, the maximum non-Lychral depth (number of iterations until palindrome) was 24, which occurs right away at 89 (try it, its a fun one). After that, the depths recur in similarly patterned blocks, with a typical spacing of about ~100 (or occasionally a very close spacing of only 2), and some interesting gaps. The first few Lychrel numbers:
Can you spot the patterns in this sequence? The only thing special I can see about 196 is it is the first Lychral number!
1009 + 9001 = 10010
10010 + 01001 = 11011 Which is a palindrome
----- One piece short of Legoland
...all of its children. After each iteration beginning with 196, you get another number that will never become a palindrome.
196 + 691 = 887
887 + 788 = 1675
Obviously, if 196 doesn't work, then 691 won't, and neither will 887, or 788, or 1675 etc
Or did the article mention that another condition for Lychrel numbers was that the number can't be part of another one's sequence?
PUBLIC SPLIT ON WHETHER BUSH IS A DIVIDER -CNN scrolling banner, 10/15/2004
Then again, how would we know that we've reached the end? They could be very spaced out. What we need is a mathematical proof.
You can't reach the end. Any number whose digits are all less than 5 is obviously palindromic, and the set of such numbers is countably infinite. Thus, the set of palindromic numbers is not smaller than the set of natural numbers.
Since, as you pointed out, the size of the set of palindromic numbers cannot exceed that the set of natural numbers, the sets are of equal size.
the joke you so obviously missed
No, I did not miss the Fermat joke. Note that I accused dave_mcmillen of making a "bad joke". I've just noticed that Fermat jokes in Slashdot pure-math articles are quickly becoming as tired as Beowulf cluster jokes in hardware articles.
Will I retire or break 10K?
Sorry, I wrote this on my windows machine at work, so I don't have a proper sh-bang at the top, but this'll tell you whether or not a number converges to a palindrome in less than 10,000,000 iterations, and if so, where and how. A preliminary run took a long time. :-) Drop the iterations down to about 1,000 and it's pretty quick, and gives you an idea what might be interesting to explore.
;-)
(ps-yes, it was nicely formatted and commented, but the LAMENESS filter rejects code like that.
# Do some perl madness
sub FindPalindrome { my ($value) = @_; for (my $j=1; $j=10000000; $j++) { $value += reverse($value); if ($value==reverse($value)) { print("$_[0] found in $j steps, palindrome of $value.\n"); return $j; } } print("$_[0] might be a Lychrel number!\n"); return $j; } { for (my $i=0; $i1000; $i++) { FindPalindrome($i); } }
Any connection between your reality and mine is purely coincidental.
If you want to link directly to the sequence without using the search box use the following URL:c gi/as/ njas/sequences/eisA.cgi?Anum=023108
:-)
http://www.research.att.com/cgi-bin/access.
My daughter recently covered this at school, but they didn't discuss any exceptions to the rule. However, they chose random 3 digit numbers to check, so there was only a 13/900 chance each child would have a LOT of homework that night
-- Don't believe everything you read, hear or think
Couldn't have said it better myself. I guess a lot of people haven't paid any attention to what Wolfram is trying to say in his new book: this kind of weird algorithmic pattern shit is as common as sand on a beach. Around 1983 people were playing around with wondrous numbers, which at least has the replayability advantage of not producing a monotonic sequence.
My first curse upon the world: this problem has a proof that involves analyzing 100,000 special cases producing 10,000 pages of dense results, and none of these cases can be reduced.
My second curse upon the world: some idiot bothers to find it.
The suggestion that no pure mathematician has any clue about where to begin is not equivalent to saying no pure mathematician has any clue about whether to begin. A proof is hardly worth the paper it gets published on if it doesn't reflect back on other branches of theory.
I, for one, am glad they haven't thrown away that distributed processing power on something trivial like curing cancer instead.
pr0n - keeping monitor glass spotless since 1981.
hmm we need to add those formulas to gnu pgp makes a nice set of new encryption formulas.....
Encryption keeping governmental power from ging absolute!
Don't Tread on OpenSource
...cuz there may actually be a solution. SETI@Home *has* no solution.
Huh? Maybe you've changed the base on me without telling, but isn't 1854 + 200 == 2054?
Besides, much like this theory, boolean algebra was all but ignored by the mathematical community at large until the 1940s, when the introduction of computers made the field suddenly relevant.
I read the internet for the articles.
hehe those darn century numbers
well I was approximately correct.
my point was that sometimes an idea can arrive ahead of it's time
Mind you, the palindromic properties of numbers will probably have to wait for quite some time.
There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
If 196 will never solve, then it is obvious that 691 will never solve. Also, it is obvious that 295, 394, 493, 592, and again 691 will never solve (what are normally called the 'consequences of 196').
The first iteration after 196, 887, will thus never solve, as well as 788. From these two number, it is obvious that 986, 887, 788, 689 will never solve (the consequences of 887).
The other lychrel sequences under 10,000 are 879, 1997, and 7059. Each of these numbers, and their sequences, and all consequences of these numbers and their sequences will also never solve.
If you are interested in Lychrel numbers, my page here: http://www.jasondoucette.com/worldrecords.html
It shows the numbers that take the longest length of time before they solve. So, they are the closest numbers to Lychrels that aren't Lychrels. It also details my section of the 196 Quest.
Jason Doucette
www.jasondoucette.com
So the best we've been able to come up with is that 196 is... weird. But why? Let's analyze it. Hmmm, it appears to be a cubed number. What? No!... It's... It's... 6 cubed or "6... 6... 6... the Lychel of the Beast!" (apologies to Iron Maiden)
I can see that there are plenty of cryptic number patterns that math people seek. But this one seems a bit, well, irrelivant. I can see the need to seek out primes and such but this "new" pattern looks like it was invented for the sake of inventing. I have a super-hard to calculate number sequence I called Slashdom. It is any integer when multiplied by 642867150 results in a number prefectly divisible by the first digit of the result. There I am a genius, now let's devote time and effort into seeking these Slashdoms so we can use them in encryption.
Come on, I tried to find one of the non-palindrom number and my first try succeeded, 3421965. Purely from a math stand point you increase you odds of a non-palidrom number by having this sequence odd-prime-even somewhere in your number.
I find this a novelty, but god help us of some twit gets a noble prize for something related to this.
-=[ Who Is John Galt? ]=-