I think this is called "n - reversal of digits of n' where a(n) is a 
multiple of 9.

A good place to find out about number sequences is:
http://www.research.att.com/~njas/sequences/

Which is where I found this sequence.

Cheers,
Kevin

On Wed, Sep 04, 2002 at 09:30:59AM -0700, nyec ([EMAIL PROTECTED]) said something 
similar to:
> This is off-topic, but I wasn't able to get an answer on a few math forums, 
> so I thought I'd pass it by the diverse Perl community. By accident my Perl 
> program produced some output - incorrect, but interesting. I was wondering if 
> anyone recognizes the numerical pattern or what it is called? I couldn't find 
> info on this during any of my searches.
> 
> The program took a number sequence. For example <10-100>, reversed the digits 
> and calculated the difference of the original number. So the calculations 
> look like this: <10-01=9; 11-11=0; 12-21=9; 13-31=18; etc.>. 
> 
> Two things were noticeable,  One, a pattern repeated (see output example 
> below). Two, the separation between differences was always <9>. Patterns were 
> present, albeit different, from <100-999>, and <1000-9999>. 
> 
> Can someone tell me what this is called? 
> 
> ## Example Output ##
> 10 - 01 = 9
> 11 - 11 = 0
> 12 - 21 = 9
> 13 - 31 = 18
> 14 - 41 = 27
> 15 - 51 = 36
> 16 - 61 = 45
> 17 - 71 = 54
> 18 - 81 = 63
> 19 - 91 = 72
> 20 - 02 = 18
> 21 - 12 = 9
> 22 - 22 = 0
> 23 - 32 = 9
> 24 - 42 = 18
> 25 - 52 = 27
> 26 - 62 = 36
> 27 - 72 = 45
> 28 - 82 = 54
> 29 - 92 = 63
> 30 - 03 = 27
> 31 - 13 = 18
> ## END Example Output ##
> 
> Thanks in advance for any information. This is driving me crazy. 
> 
> nyec
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Disciple   - Master, why isn't everything perfect?
Zen Master - It is.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to