<<

JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011 51

Research on Ordinal Properties in Combinatorics Coding Method

Lu Jun College of Computer and Technology, Heilongjiang University, Harbin, China College of and Technology, Harbin Engineering University, Harbin, China Email: [email protected]

Wang Tong Colledge of Information and Communication Engineering, Harbin Engineering University, Harbin, China Email: [email protected]

Liu Daxin College of Computer Science and Technology, Harbin Engineering University, Harbin, China Email: [email protected]

Abstract—Combinatorics coding is a new data coding Today, data encryption techniques become the hot method based on combinatorics. Ordinal computing is the research[4,5]. core technology of in the combinatorics coding. Ordinal Combinatorics coding is a new data coding method properties of combinatorics coding is studied in this paper. based on combinatorics. Due to its unique properties and Firstly, the combinatorics and the correlative advantages, it is applicable in various fields such as data basic concepts are described. Then, the properties of the ordinal are revealed. The study indicates that the value of compression, data secrecy, and so on[6-10]. ordinal have a close relationship with the selection of Combinatorics coding is of great significance to benchmark sequence. The size of ordinal is correlative with information disposing, data storage, and data the distributing of character frequency in the sequence.The transmission. length of the sequence should be longer than the length of the ordinal and this conclude is proved by the theory. II. COMBINATORICS CODING THEORY Moreover, the difference of the initial sequence length and the whole max ordinal length is increased along with the Combinatorics coding makes use of the relation increase of the initial sequence length pvoved by the between the space of the character sequence and the experiment and theory. The research on ordinal properties space of the corresponding ordinal to code. There is a is of great significance to the development of the kind of question in combinatorics: combinatorics coding technology. Suppose there is a sequence includes n elements and

a a a Index Terms—Data Coding, Source Coding, Combinatorics 1 2 …… n is different. Full is made to Coding, Benchmark sequence, Ordinal this sequence and the number of different is

w n!. If there is an element and repeats 1 times, I. INTRODUCTION then there are the same results of permutations. In fact, With the development of the information technology, nw!/ ! the different permutation number should be 1 . data coding technology, applied in various fields such as w ! computer science, multimedia and communications. It That is to say, the repetition degree is 1 . In the same has become a basic tool and one of the basic problems to w study. It now plays an important role in all kinds of way, repeats , repeats 2 , ……, studies and applications. am wm w12 w ......  wm  n There are three embranchments in coding technology: repeats , and , that is source coding, channel coding and secrecy coding. The to say, n elements include repeating elements, the main task of source coding is to compress data. Data different elements number is only m . If full permutation compression technology is studied and applied widely in is made to thus sequence, the number of real different the information world[1-3]. The main aim of channel n!/( w12 ! w !  ...  wm !) coding is to enhance the reliability of information permutations is . transmission, such as error correcting code. Secrecy is less than . Combinatorics coding prevents the information being filched. It is coding method is enlightened by this kind of question. usually implemented by the data encryption techniques.

© 2011 ACADEMY PUBLISHER doi:10.4304/jcp.6.1.51-58 52 JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011

In practice, because data is usually handled and stored of each element is the same, that is to say, in the worst by bytes, the number of different elements is 256( ). case, max ordinal is studied. Max ordinal obtained in this Thus, to the sequence, the number of the real different case is named whole max ordinal. The definition is as permutations can also be expressed by the following follows. formula: Definition 3: whole max ordinal.

m S{,} x x x The set 12 m , , the element P . (1)  nw!/( (i !)) i1 number of is . The permutation to each sequence whose length is and , has a max III. BASIC CONCEPTIONS ordinal. There is a biggest max value in these max ordinals. This biggest max value is named whole max In order to describe contents and deduce formulas ordinal. expediently, the basic conceptions are defined firstly. Definition 1: ordinal and max ordinal. To the character sequence whose length is , there are 256 kinds of different characters. Each character may S{,} x x x xx The set 12 m , ij, the element have different frequency. It means there are lots of permutation methods. Each sequence whose length is number of S is m . There is a sequence has a max ordinal. To the sequence whose length is , if a a a aS 12 n which length is n , i . If elements in is the integral multiple of 256, when each character this sequence are made full permutation as a certain order, frequency is equal, the whole max ordinal is gained. the permutation number is SUM . If it counts from 0, In fact, if is not the integral multiple of 256, when this sequence position in the whole permutations is the difference of each character frequency value is not a a a more than one, that is to say, each character frequency 01SUM  . The position of the sequence 12 n is value is n / 256 or n / 256 1, the whole max ordinal named ordinal. At the same time, the value of SUM 1 can be gained. is named max ordinal. To make the study convenient, we usually deals with To the same sequence, if the reference benchmark (certain order) is different, then the corresponding ordinal the case when is the integral multiple of 256. Because is different. That is to say, the ordinal is not exclusive. So character sequence can be divided into subsections and benchmark sequence is defined to express reference the length of each subsection can be the integral multiple benchmark. of 256, this method is reasonable. Of course, the last Definition 2: benchmark sequence. subsection is not handled. In this paper, the study aims at this case. S{,} x x x The set 12 m , , the element IV. RESEARCH ON ORDINAL PROPERTY number of is recorded as ||Sm . There is a a a a As to combinatorics coding method, an ordered space sequence 12 n which the length is and . is contained in character frequency table of initial To the elements in , there are m! kinds of sequence which would be coded. This ordered space is made up of the sequences which corresponding character a a a permutation methods. The sequence 12 n can be number is the same. For example, to all sequences, the computed to different ordinal based on different number of character „0‟ is the same. The number of permutation methods as a benchmark. But once the character „1‟ is same…… The number of character „255‟ reference benchmark is confirmed, the ordinal is is the same. That is to say, all sequences have the same exclusive. The reference benchmark is named benchmark corresponding character number with the sequence which sequence. would be coded. The difference lies in character position Combinatorics coding method requires a benchmark distribution. Moreover, each sequence is not repeated in sequence that is agreed on by the coder and the decoder. this space. When the sequence is coded, the number of Based on the same benchmark sequence, an ordinal the sequences in front of each character is computed. At corresponding to the character sequence is computed in last, all sequence number is added and the position of this the coding process and the primary character sequence is sequence in the whole space is obtained. That is to say, deduced from the ordinal in the decoding process. a12, a an Ordinal computing is the core in the combinatorics the ordinal of the sequence expresses the coding technology. Research finds that the value of number of other sequences in front of this sequence under ordinal have an affinity for the selection of benchmark the destined benchmark sequence. Of course, different sequence. result is obtained if different benchmark sequence is The size of the ordinal lies in the distribution of the adopted as permutation rule. But the ordinal corresponding to the sequence is exclusive if benchmark character frequency. An extremity case will be studied in th this paper to make a research on correlative question. sequence is confirmed. For example, To the j character When the length of the sequence is and the frequency in the sequence which has n characters, if this character is the same as the ith character in benchmark sequence, it is

© 2011 ACADEMY PUBLISHER JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011 53

predicated that there are existed permutation and the same sequence, the ordinal corresponding to the sequences before the current sequence sequence is different if the benchmark sequence selected involved i-1 characters. To these i-1 characters, the is different. Moreover, the sum of the ordinals permutation and combination number of the xth character corresponding to the sequence is max ordinal if the order (the character position in these i-1 characters is x) of the benchmark sequence selected is contrary. Property 2: The size of ordinal is correlative with the th S jx, occupied the j position can be expressed by . It is distributing of character frequency in the sequence. The shown in the equation (2). more differences of character frequencies are, the smaller ordinal is. The closer differences of character frequencies ()!nj S  . (2) are, the bigger ordinal is. When the character frequencies jx, x1 ii are equal, the whole max ordinal is obtained. ( (wq !))*( w x 1)*( ( w q !)) Property 3: The length of whole max ordinal, the q11 q  x  length of max ordinal and the length of ordinal are all less w expresses the number of each character. To the jth than the length of sequence. character in the sequence which has n characters, the Calculating the ordinal of the sequence is the core in the combinatorics coding method. Computing quantity is sequence sum of i-1 elements before the jth element can exponential increase along with the increase of the be computed by the formula (3). sequence length because combinatorics coding method is i1 based on combinatorics. needs to be (3)  S jx, optimized. It is found in study that ordinal computing lies x1 on max ordinal computing and max ordinal computing lies on whole max ordinal computing in the optimization At last, the position (ordinal) in the whole space of the arithmetic. The value of whole max ordinal is only sequence which has characters can be expressed by the relative to the length of sequence, so the whole max formula (4). ordinal can be computed out beforehand and be stored in ni1 a file. Thereby, the speed of ordinal computing is (4) improved. Furthermore, some useful properties of S jx, jx11 combinatorics coding can be obtained by the whole max ordinal, so the research on whole max ordinal is very The basic idea of combinatorics decompression important. (decoding) is that suppose the element in the inspected To the sequence whose length is , the first study is position is a certain element, the corresponding how to obtain the whole max ordinal. p At first, a should be proved. permutation and combination value 1 is computed out pq based on benchmark sequence according to this suppose. Theorem 1: If , and p+q=z. is an abij ai Compared with ordinal, if ordinal is not less than , ij11

p integer, a  0 . b j is an integer, bj  0 . Then to any then the permutation and combination value 2 of the i next element is computed out based on benchmark integer x , x  0 , the following inequation is correct: sequence. It needs to judge that ordinal is not less (x a12 )!*( x  a )!*...*( x  ap )!* pp (6) than 12or not. ……Until it finds out that ordinal is z (x b12 )!*( x  b )!*...*( x  bq )!  ( x !) p p   p less than 12 r . This moment, the Prove: Look at the following formula:

pr ((x a12 )!*( x  a )!*...*( x  ap )! element corresponding should be the element in the inspected position. At last, the new ordinal needs to be z *(x b12 )!*( x  b )!*...*( x  bq )!) /( x !) computed to deduce the next position element according to the formula (5): ((x  b1 )( x  b 1  1)...( x  1)( x  b 2 )( x  new ordinal= old ordinal-( p p   p ) (5) b2 1)...( x  1)...( x  bqq )( x  b  1)...( x  1)) 1 2r 1 In fact, the process of combinatorics decoding is the /(x ( x 1)...( x  a12  1) x ( x  1)...( x  a  1) inverse process to combinatorics coding. Probing step by ...... x ( x 1)...( x  ap  1)) step method is adopted to parse correlative character. The q most important step of probing method is also ordinal computing. In a word, the key of combinatorics coding The numerator of the formula has bj items. The and decoding is to compute ordinal. j1 There are three primary properties in the combinatorics p denominator of the formula has items. Because coding method.  ai Property 1: The value of ordinal has a close i1 relationship to the selection of benchmark sequence. To

© 2011 ACADEMY PUBLISHER 54 JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011

p q For example, to the character sequence whose length is is equal to , the number of the items in the  ai bj 204800 bytes (n=204800), the average frequency of each i1 j1 character is 204800/256=800. Now is 800. This is the numerator is equal to the number of the items in the extremeness case that the frequency of each character in denominator. Each item value in the numerator is more the sequence is the average frequency. But in normal case, than x or equal to and each item value in the the frequency which is more than 800 is expressed as denominator is smaller than or equal to , so the value xb j of the numerator is not smaller than the value of the and the frequency which is less than 800 is denominator. That is to say, the following inequation is xa expressed as i . Here, p+q=256, z  256 , correct: pq pq ((x b )( x  b  1)...( x  1)( x  b )( x  b 1 1 2 2 abij ()()x aij  x  b  204800 ij11ij11 1)...(x  1)...( x  bqq )( x  b  1)...( x  1)) , . It can be known based on the inequation (6): /(x ( x 1)...( x  a12  1) x ( x  1)...( x  a  1)

...x ( x 1)...( x  ap  1))  1 Of course, That is to say, to the sequence whose length is 204800 ((x a12 )!*( x  a )!*...*( x  ap )!*( x  256 z bytes, (m !) (800 !)256 is correct when m b12)!*( x b )!*...*( x  bq )!) /( x !)  1  i i i1 So formula (2) is correct. The proof is over. expresses character frequency in normal case. Theorem 1 indicates that the following result is correct: It can be known based on formula (1) that to n=204800, To the character sequence whose length is n , the 256 number of different characters is 256(z=256) and the the max ordinal can be expressed as 204800 . !/ (mi !) i1 m m x ai frequency of each character is , or When the frequencies of 256 characters are equal, the m x b 256 j . is the average frequency, that is to say, max ordinal is 204800!/ ( 800 !) or 204800!/( 800 !)256 . p q  i1  ai  b j xn / 256 . Further, i1 j1 , Because is correct, p q (x  ai )  (x  b j )  n , p+q=256,based on the i1 j1 should be less formula (1), the max ordinal to the sequence whose length is can be computed by the following formula: than . That is to say, to the sequence 256 whose length is 204800 bytes, the whole max ordinal is n!/( ( mi !)) n !/(( x  a12 )!*( x  a )!*...* i1 . In fact, to the sequence whose length is (x apq )!*( x  b12 )*( x  b )*...*( x  b )!) Based on the inequation (2), it can be known: ( n  256 , is multiples of 256), its whole max ordinal length must be less than . This conclusion can be (x a12 )!*( x  a )!*...*( x  ap )!* proved as follows. 256 (x b12 )!*( x  b )!*...*( x  bq )!  ( x !) Theorem 2: If the length of one sequence is (  256 ) So, and is multiples of 256, then the length of the whole max ordinal corresponding to the sequence is less than . n!/(( x a12 )!*( x  a )!*...*( x  ap )! Prove: In order to prove theorem 2, it only needs to *(x b12 )*( x  b )*...*( x  bq )!) prove that the whole max ordinal is less than the smallest nn!! data whose length is n. The smallest data expressed by n  256n1 (xn !)256 (( /256 )!) 256 bytes is . Then it needs to prove the following inequation is correct: It indicates when the frequency of each character is n! n1 ( ) equal ( ), the whole max ordinal can be 256  256 8 obtained: ((n /256 )!) n! Epagoge method is adopted: (7) ((n /256 )!)256

© 2011 ACADEMY PUBLISHER JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011 55

(1) If n=256, the left of the inequation is 256! TABLE I.  256! and the right of the inequation TABLE I. DIFFERENCE OF SEQUENCE LENGTH AND WHOLE ((256 / 256 )!)256 MAX ORDINAL LENGTH 255 255 Sequence length 256 200k 1M 2M 3M 4M is 256 . It is apparently 256! 256 . So the Difference with 46 195 233 248 258 264 inequation is correct. ordinal length (2) It is supposed that if n=k, the inequation is Sequence length 5M 6M 7M 8M 9M … k! k 1 correct: 256 Difference with 256  270 274 277 280 283 … ((k /256 )!) ordinal length Then if n=k+256, the left of the inequation: The experiment data in table 1 express that the ()!k  256 difference range become less and less along with the (((k  256 ) / 256 )!)256 sequence length increase. The difference range is possibly less than one bit. At last, perhaps the sequence (k256 )  ( k  255 )  *( k  1)  k !  length increases several millions, the difference increases ((k /256  1)!)256 one bit; the sequence length increases dozens millions, the difference increases one bit……But the difference (k256 )  ( k  255 )  *( k  1)  k ! increased along with the increase of the sequence length.  256 256 (kk /256 1) (( / 256 )!) This trend can also be expressed by Fig. 1. ()()*kk 256   255  (9) (kk 1) /(( /256  1)256 )  256k 1

In fact, the follow inequation is correct apparently: (k256 )*( k  255 )*...*( k  1)(  k  256 )256 So the following inequation is correct: (k256 )*( k  255 )*...... *( k  1) 1 Difference (B) ()k  256 256

(k256 )*( k  255 )*...*( k  1) 256 256 256 *256 256 ()k  256 Figure 1. DifferenceSequence Diagram of LengthSequence (MB) Length and Whole Max Ordinal Length. (k256 )*( k  255 )*...... *( k  1) 256256 Above experiment conclusion can also be proved ((k  256 ) / 256 )256 strictly by theory. (k256 )*( k  255 )*...... *( k  1) Theorem 3: The difference between the sequence 256 ( ) length and the whole max ordinal length is increased 256 256 10 ((k /256  1)) along with the increase of the sequence length. Over here, Put formula (10) into formula (9), the following the length of the sequence is the multiple of 256 and the formula can be obtained: step of increase is 256. The idea of proving: Suppose the length of a sequence ()!k  256 256k 1 256 256 256 is A. The whole max ordinal of this sequence is Y. After (((k  256 ) / 256 )!) the length of the sequence increases 256 bytes, the whole ()!k  256 Y ⇒ (k  256) 1 max ordinal of this sequence is 1 . In order to prove 256  256 (((k  256 ) / 256 )!) theorem 3, it needs to prove that the difference between So when n is k+256, the inequation (8) is also correct. (A 1) the smallest value 256 expressed by the sequence Then theorem 2 is correct. Because of the length of whose length is A and Y is less than the difference ordinal is less than that of whole max ordinal, it is proved between the smallest value expressed by the sequence by the theory that the space of ordinal is less than the space of the initial sequence. whose length is A+256 and . That is to say, In fact, not only the whole max ordinal length must be 256(AA 256  1)YY  256 (  1)  less than the sequence length, but also the difference of 1 will be proved or the the sequence length and the whole max ordinal length is follow formula will be proved: increased along with the increase of the sequence length. (A 255) 256 256 (AA  256)!/(((  256) / 256)!) Of course, the increase range become is less and less. The experiment data in table 1 incarnate this character. 256(A 1)AA !/(( / 256)!) 256 The formula can also be expressed by the formula (11).

© 2011 ACADEMY PUBLISHER 56 JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011

(A 255) 256 256 256 256 (AA  256)!/(((  256) / 256)!) 256* (ii  256)!/(((  256) / 256)!) (11) (A 1) 256 256 (i 1) 256 256 256 AA !/(( / 256)!)  0 256* 256 256 *ii !/(( / 256)!) Epagoge method is still adopted: 256 (i 1) Prove: (1) If the value of A is 256, then (ii  256)!/(((  256) / 256)!)  256 256 256 256(A 255) (AA  256)!/(((  256) / 256)!) 256 i!/(( i / 256)!)  ( i  512)!/((( i / 256)  2)!)

(A 1) 256 256AA !/(( / 256)!) (ii  256)!/((( / 256)  1)!)256 256511  512!/(2!) 256  256 255  256!/(1!) 256 256 256 256* (ii  256)!/(((  256) / 256)!) 256255 (256 256  1)  512!/(2!)256  256! 256(ii 255)  256 256 *ii !/(( / 256)!) 256  256 ( 1) 256255 * (256 256  256 255 )  (512 *511*510 *509 256 256 i!/(( i / 256)!)  ( i  512)!/((( i / 256)  2)!) ...... * 258* 257 * 256!) /(2 * 2...... * 2 * 2) 256!

255 2 255* (256 ) (512 *512 *510 *510 256 256 256* (ii  256)!/(((  256) / 256)!) ...... * 258* 258* 256!) /(2 * 2...... * 2 * 2) 256! 256 (i 1) (ii  256)!/(((  256) / 256)!)  256 127 2 128 2 2  255*(256 ) *(256 ) (256* 255*...... 129) 256 256 256 (i 1) i!/(( i / 256)!) 256 * i !/(( i / 256)!) 256 *256! 256! 256 256 i!/(( i / 256)!)  ( i  512)!/((( i / 256)  2)!) 127 2 128 2 128 2 255*(256 ) *(256 )  (256 ) *256!  256! 256 256 (ii  256)!/(((  256) / 256)!) * (256 1

256 256 (256128 ) 2 *(255*256 254  256!)  256! 256 * ((i / 256) 1) /(( i  256)( i  255)...... ( i  1))) (256128 ) 2 *(2*256 254  256!)  256! (i  512)( i  511)...... ( i  257) /(( i / 256)  2)256 ) (256128 ) 2 *(2*256 254  256*255...... 2*1)  256! 256 256 (ii  256)!/(((  256) / 256)!) *(256 1 (256128 ) 2 *2*(256 254  256*255...... *3)  256! 256  0 (i 256) /(( i  256)( i  255)...... ( i  1))

So when A is 256, formula (11) is right. 256 256 (2) Suppose when A=i, formula (11) is right: 256 *(i  512)( i  511)...... ( i  257) /(( i  512) ) 256 256(i 255) (ii  256)!/(((  256) / 256)!) 256 [(ii  256)!/(((  256) / 256)!) 256 256(i 1) ii !/(( / 256)!) 256  0 /((i 512) ( i  256)( i  255)...... ( i  1))] 256 256 That is to say, formula (12) is right: *[256(i 256)( i  255)...... ( i  1)( i  512) (i 255) 256 256 (ii  256)!/(((  256) / 256)!) 256 (12) (i 512) ( i  256)( i  255)...... ( i  1) (i 1) 256 256 ii !/(( / 256)!) 256 256 256 (i  256) ( i  512) 256 ( i  512)( i  511) So if A=i+256, then 256(i 511) (iA  512)!/(((  512) / 256)!) 256 ...... (i  257)(i 256)( i  255)...... ( i  1)] (13) (i 255) 256 256  (ii  256)!/(((  256) / 256)!) In order to be convenient for educing, suppose 256 256(ii 255  256)  256 (  255)  (ii  512)!/((( / 256) M[( i  256)!/((( i  256) / 256)!)

256 2)!)256  (ii  256)!/((( / 256)  1)!) 256 /((i 512) ( i  256)( i  255)...... ( i  1))] (i 255) 256 256 Then the formula (13) become the formula (14) 256*( 256  1)  (ii  512)!/((( / 256)  2)!) 256 256 M*[256( i 256)( i  255)...... ( i  1)( i  512) 256 (ii  256)!/((( / 256)  1)!) 256 (i 512) ( i  256)( i  255)...... ( i  1) Based on formula (12), above formula can be educed as (14) 256 256 256 follow: (i  256) ( i  512) 256 ( i  512)( i  511) 256 256 (2561) * ((ii  256)!/(((  256) / 256)!)  ...... (i 257)( i  256)( i  255)...... ( i  1)] (i 1) 256 256 i !/(( i / 256)!))  ( i 512)!/((( i / 256) (a h )( a  h )  a2 is apparently, so 2)!)256  (ii  256)!/((( / 256)  1)!) 256

© 2011 ACADEMY PUBLISHER JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011 57

255 256 256 1 254 256 (i 511)( i  510)...... ( i  257)  ( i  384) is right. M [128  ( i  512)( i  1)  ( C255 i  128  2 Thus the formula (14) can be educed as follow: 2 253 2 256 254 254 256 C255 i 128  2   C 255 i  128  2 256 256 M*[256(i  512) ( i  256)( i  255)...... ( i  1) 255 256 256 1 255 128  2 )  (i  512) ( C256 i  256 256 (i 512) ( i  256)( i  255)...... ( i  1) 2 254 2 255 255 256 C256 i 256   C 256 i  256  256 )] (ii  256)256 (  512) 256 256 1 254 255 256 255 M [( i  512)(128 i  128)  ( C i  256  2 256 (i 512)( i  384) ( i  256)( i  255)...... ( i  1)] 255 C2 i 253 256 2  2 254   C 254 i  256 254  2 2 255 255 (16) 256 (i  512)( 255 256 1 255 M*[256 i  256)( i  255)...... ( i  1) 256  2)  (i  512) ( C256 i  256 255 255 2 254 2 255 255 256 ((i  512)(i 384) ) C256 i 256   C 256 i  256  256 )]

256 (i 512) ( i  256)( i  255)...... ( i  1) (128ii 128)256  (  512) 256 256 256 Because (This can be (ii  256) (  512) ] proved by Epagoge method) and the follow formula is 256 M*[256(i  512)( i  256)( i  255)...... ( i  1) right: 1 254 255 2 253 2 255 255 (i 512)( C255 i  256  2  C 255 i  256 ((i  512)(i 384) ) (17) 254 254 254 2 255 256 256 256 256 2  Ci  256  2  256  2) (i 512) ( i  1)  ( i  256) ( i  512) ] 255 256 M*[256(i  512)( i  256)( i  255)...... ( i  1) 1 255 255 2 254 2 254 C255 i 256  2  C 255 i  256  2 255 255 ((i  512)(i 384) ) C3 i 253 256 3  2 253  C 4 i 252  256 4  2 252 255 255 (18) 256 256 256 (] 5 251 5 251 6 250 6 250 (i  512) ( i  256)  ( i  1) ) C255 i 256  2  C 255 i  256  2 M [256256 ( i  512)( i  1) 256 254 2 254 2 255  C255 i 256  2  i  256  2 (C1 i 254 * (512 384)  C 2 i 253 (512 2  384 2 ) Cmm/ C (256 m ) / 256 255 255 Moreover, because 255 256 is 254 254 254 right, thus the formula (18) can be educed as follow:  Ci255 * (512  384 ) Ci1 (255 / 256)  255 * 256  2 255 (512255 384 255 )) (15) 256 2 254 2 254 256 1 255 Ci256 (254 / 256)  * 256  2 (i  512) ( C256 i (256  1) 3 253 3 253 2 254 2 Ci256 (253 / 256)  * 256  2 Ci256 (256  1)  4 252 4 252 255 255 256 Ci256 (252 / 256)  * 256  2 Ci256 (256  1)  (256  1))] 5 251 5 251 m m m Ci256 (251/ 256)  * 256  2 Because a b () a  b (This can be proved 6 250 6 250 mm Ci (250 / 256)  * 256  2 by Epagoge method) and 256 1  256 , thus the 256 250 6 250 6 (19) formula (15) can be educed as follow:  C256  (6 / 256)i  256  2 256 256 1 254 251 5 251 5 M [256 ( i  512)( i  1) ( C255 i  128 Ci256 (5 / 256)   256  2 252 4 252 4 2 253 2 254 254 255 Ci256 (4 / 256)   256  2 C255 i 128   C 255 i  128  128 ) 253 3 253 3 256 1 255 2 254 2 Ci256 (3 / 256)   256  2 (i  512) ( C256 i  256  C 256 i  256  254 2 254 2 255 255 256 Ci256 (2 / 256)  * 256  2 Ci256 256  256 )] 255 i 256  2 256 256 256 1 254 M [2 *128  ( i  512)( i  1)  ( C255 i  128 2 253 2 254 254 255 The set W expresses the corresponding items in the C i 128   C i  128  128 ) 255 255 formula (16): 256 1 255 2 254 2 1 255 2 254 2 (i  512) ( C256 i  256  C 256 i  256  W C i 256  C i  256  256 256 Ci255 256 255  256 256 )] 255 255 256 256 Ci256 256  256

© 2011 ACADEMY PUBLISHER 58 JOURNAL OF COMPUTERS, VOL. 6, NO. 1, JANUARY 2011

C1 i 255 256  C 2 i 254  256 2  [1] A Jas,J Ghosh-Dastidar. “An efficient test vector 256 256 compression scheme using selective huffman coding,” 250 6 250 251 5 251 252 4 252 IEEE Transactions on Computer-Aided Design of C256 i 256  C 256 i  256  C 256 i  256 Integrated Circuits and Systems, vol. 22, pp.797- 806, Jun C253 i 3 256 253  C 254 i 2  256 254  C 255 i  256 255  256 256 256 256 256 2003. Each item in the formula (19) is more than each [2] Nourani M, Tehranipour M H, ”RL-Huffman encoding for W test compression and power reduction in scan corresponding item in , except that the sum of the last applications,”ACM Transitions on Design Automation of five items in the formula (19) is less than the sum of the Electronic Systems, vol. 10, pp. 91-115, Jan 2005. last six items in . Several items in the front of the [3] Lan Bo,Lin Xiao-Zhu,Ji Jun-Wei, “Application of an formula (19) can be split as follow: improved LZW algorithum in image coding,” Computer Engineering And Science, vol. 28, pp.101-110, Jun 2006. C1  i 255 256  C 1  i 255  256  (255  2 247  1) 256 256 [4] Yang Huaqian, Liao Xiaofeng, et al. “A new block cipher C2  i 254 256 2  C 2  i 254  256 2  (254  2 246  1) based on chaotic map and ,” Chaos, Solitons 256 256 & Fractals. pp. 10-16, Oct 2005. 3 253 3 3 253 3 245 C256  i 256  C 256  i  256  (253  2  1) [5] Wei Jun, Liao Xiaofeng, Wong Kwok-wo, et a1, “A new chaotic cryptosystem,” Chaos, Solitons&Fractals,vol.30,  Ci250 (6 / 256)  6  256 250  2 6 256 pp. 1143-1252, 2006. Ci251 (5 / 256)  5  256 251  2 5 (20) [6] Lu Jun, Wang Tong, Li Yibing, “Study on Optimization 256 Technology in Computing Ordinal Number,” Journal of 252 4 252 4 C256 (4 / 256) i  256  2 Computers, vol. 5, pp. 210-217, Feb 2010. 253 3 253 3 [7] Lu Jun, Liu DaXin, Xie XinQiang, “Selection of the Ci256 (3 / 256)   256  2 Smallest Compression Subsection in Constant Grade 254 2 254 2 Compression,” Journal of Information and Computational Ci (2 / 256)   256  2 256 Science, vol. 5, pp.1545-1550, April 2008. i 256255  2 [8] Lu Jun, Liu DaXin, “Optimization on Computing Base- data in Constant Grade Compression,” 2009 International Forum on Information Technology and Applications Apparently, compared to the items in the front of , (IFITA 2009), pp. 68-71, May 2009. the sum of the redundant items split and the last five [9] LU Jun, LIU Da-xin ,CHEN Li-yan, “Compression method items in the formula (20) must be more than the sum of with constant degree based on permutation and combination,” Journal of Dalian Maritime University, vol. the six items of . So the value of the formula (17) is 34, pp28-32, April 2008. more than . Thus, the value of the formula (16) is [10] Lu Jun, Liu Daxin, “Optimization of Constant Grade more than 0. Compression Method,” Journal of Jiangsu So if A=i+256, then the formula (11) is correct. The University(Natural Science Edition). vol. 31, pp. 78-81. proof is over. Prepare your CR paper in full-size format, Jan 2010. on A4 paper (210 x 297 mm, 8.27 x 11.69 in).

V. CONCLUSION This article studies the properties of combinatorics coding ordinal. The study indicates that the value of ordinal have a close relationship to the selection of Lu Jun was born in 1971. She obtained her master's degree from College of Computer Science and Technology of benchmark sequence. To the same sequence, the ordinal Heilongjiang University in 2000 and the study filed is . of the sequence is different if the benchmark sequence She works at College of Computer Science and Technology, selected is different; the sum of the ordinals of the Heilongjiang University, Harbin, China. Now, she is studying in sequence is max ordinal if the order of the benchmark Harbin Engineering University, Harbin, China. Her study sequence selected is contrary. The size of ordinal is is database and repository, network and etc. correlative with the distribution of character frequency in the sequence. When the character frequencies are equal, the whole max ordinal is obtained. The length of the sequence is longer than that of the ordinal. Moreover, the Wang Tong was born in 1977. Ph.D. associated Professor. He got his Ph.D. of computer science from Harbin Engineering difference of the initial sequence length and the whole University in 2007.And now he works at Colledge of max ordinal length is increased along with the increase of Information and Communication Engineering, Harbin the initial sequence length by the experiment and theory. Engineering University. His study field is , The research on ordinal properties is of great significance , artifical intelligence etc. to the development of the combinatorics coding technology. This paper is supported by the National Postdoctoral Science Foundation under Grant No. 20080440840. We Liu Daxin was born in 1941. Professor, Ph.D supervisor. are grateful to all those who made constructive comments. Now he works at College of Computer Science and Technology, Harbin Engineering University. His study field is database and repository. REFERENCES

© 2011 ACADEMY PUBLISHER