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]

Reply via email to