home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!pacbell!oracle!unrepliable!bounce
- Newsgroups: rec.puzzles
- From: speters@dvlseq.us.oracle.com (Stephen Peters)
- Subject: Re: Our favorite series
- Message-ID: <1992Nov18.200929.25998@oracle.us.oracle.com>
- Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
- Nntp-Posting-Host: dvlseq
- Organization: Oracle World HQ, Redwood Shores, California
- References: <98019@netnews.upenn.edu>
- Date: Wed, 18 Nov 1992 20:09:29 GMT
- X-Disclaimer: This message was written by an unauthenticated user
- at Oracle Corporation. The opinions expressed are those
- of the user and not necessarily those of Oracle.
- Lines: 50
-
- In article <98019@netnews.upenn.edu> varhus@meringue.seas.upenn.edu (Kristofor A Varhus) writes:
-
- >Here's everybody's favorite series again:
- >
- > 1
- > 11
- > 21
- > 1211
- > 111221
- > ...
- >
- >1. Which is the first term that has a "4" in it?
- >
- >2. Prove your answer to number 1.
-
- SPOILERS HO!
-
- I was just thinking about this problem a little while ago, and I'm
- convinced that there are *no* terms containing a "4". Here is my
- reasoning:
-
- Each term has an even number of digits, and can be broken up into two
- digit segments (this is purely for readability's sake):
-
- ...
- 12 21
- 11 12 21
- 31 22 11
- ...
-
- In order for a "4" to appear, we must get a set of four consecutive
- digits of the same numbers in the previous term. This could occur in
- one of the following two ways:
-
- ... xx xx ...
- ... yx xx xz ...
-
- The first cannot occur, because the two terms would appear instead as
- ... (2*x)x .... The second cannot appear because it would appear
- instead as ... (x+y)x xz ...
-
- For example, we can't get ... 11 11 ..., because the process to create
- that term would instead give us 21. In addition, we can't get
- something like ... 21 11 13 ..., because the process that created that
- term would yield 31 13 instead.
-
- Hope this makes some amount of sense...
-
- Stephen Peters
- Oracle Sun SBU
-