Professional Documents
Culture Documents
Pseudo-Randomness Properties
Pseudo-Randomness Properties
Abstract-Expressions are derived for the moments of the dis- case m-sequences may be a very critical design factor.
tribution of weights of M-tuples or subsequences of long m-se- Bartee and Wood”’ performed an exhaustive comparison
quences. The expressions display a systematic relationship between
the moments and the characteristic polynomial or generating of all m-sequences of lengths up to and including N =
function. An algorithm for determining the third moment, which 214 - 1 = 16 383 for a wide range of subsequence lengths
measures skewness, is shown to provide a practical aid for select- to select “optimum” m-sequences. For a given subsequence
ing optimum m-sequences for various correlation-detection design length, M, and fixed-length m-sequences the “optimum”
problems. m-sequence, in the sense of Bartee and Wood, is essentially
that one whose minimum weight M-tuple has greatest
I. INTR~DUOTI~N weight. In one of their examples, a particular-system
performance parameter varies over more than five orders
N RECENT YEARS, shift-register sequences have
of magnitude from worst-case m-sequence to best-case
been analyzed algebraically,‘1’-‘41 investigated ex-
I m-sequence. Unfortunately, Bartee and Wood found no
perimentally via digital15’ as well as analog’61 ap-
systematic relationship between their set of optimum
proaches, and their properties have been exploited in a
m-sequences and the corresponding generating functions.
variety of applications.‘71 In particular, the maximum-
The auto- and cross-correlation properties of the sum-
length linear shift-register sequences (i.e., m-sequences)
sequences in Gold’s13’ study are with respect to an entire
or so called pseudo-random sequences are the most well
period of the m-sequences involved. However, not all
documented and appear as the basic building blocks for
pairs of m-sequences yield “good” families of nearly
a variety of composite coding techniques. For example,
orthogonal sum-sequence codes. Gold finds a systematic
Bartee and WoodL5’ consider interlacing several short
solution to the selection of “good” pairs via the notion
m-sequences having relatively prime lengths to obtain
of coset functions and characteristic sequences. 13’’14’’I”
long codes having good short-term correlation properties
Lastly, Roberts and Davis”] apparently fail to recognize
to promote rapid acquisition in a radar ranging applica-
the variation in the statistical properties of smoothed
tion. In a somewhat different application, Goldf3’ con-
m-sequences of the same length. Two possible explanations
siders the sum-sequences obtained by adding two different
could account for this: 1) not very many different se-
m-sequences of the same length term by term (Mod 2)
quences of any fixed length were tested and/or 2) sta-
for all relative phase shifts of the parent m-sequences to
tistical tests involving only mean value and variance were
obtain large families of “nearly” orthogonal sequences.
applied. In this paper we consider the moments of the
In a third type of situation, Roberts and Davis,“’
distribution of weights of M-tuples from any given m-
consider the statistical properties of low-pass filtered
sequence, and develop a systematic relationship between
m-sequences for simulating a Gaussian process. The three
the moments of the distribution and the characteristic
examples just cited represent prototypes of a class of
polynomial via the notion of coset functions. In addition,
problems which bracket the area of investigation of the
the coset function approach yields a systematic relation-
present paper.l The general problem area involves the
ship between the distributions of the entire family of
pseudo-randomness properties and/or weight distributions
m-sequences of any given length. The amount of computa-
of segments from m-sequences. Most of the well-known
tion necessary for a complete description of the distribu-
“nice” pseudo-random properties of m-sequences pertain
tions is practically prohibitive however, especially if large
to averages over an entire period of the m-sequence.
families of long m-sequences are involved. The first few
The detailed weight distribution of segments from m-
moments of a distribution are sufficient to describe the
sequences is not well known. The problem would not be
main geometrical features of the distribution.“’ In general,
so bad if the distributions obtained from different m-
central moments are used for this purpose. Thus, the
sequences of the same length were all essentially the
variance provides a measure of dispersion or spread about
same. However, there are significant differences and, de-
the mean value. The third central moment provides a
pending upon the particular application, selection of the
natural measure of skewness, being negative, zero, or
optimum m-sequence or, at least, rejection of the worst-
positive as the distribution has a long negative tail, is
symmetrical, or has a long positive tail, respectively. The
Manuscript received June 19, 1967. ‘-
The author is with Sylvania Electronic Systems-Central Division fourth central moment provides a measure of flattening.
Sylvania Electric Products, Inc., Williamsville, N. Y. 14221 As shown later, the first and second moments of the
1 Several more recent and pertinent references[131-[161 have been
brought to the attention of the author. distribution of weights of M-tuples from any m-sequence
570 IEEETRANSACTIONSON INFORMATION THEORY,JULY,l968
TABLE I
WEIGHT CHARACTERISTICS0~500-TUPLES FROM SIX mG?kanEwxs OFLENGTHN = Zz3 - 1
i 40001001
40000041 ; 128
121 291
293 f$: $ ;: ; : 10707 - 1338
g 75310753
66666667 :: 141
139 297
302 227 + x2
226 x + 1 10335
9963 - 1245
-1292
40404041 4 179 307 None of degree -15
40435651 10 203 300 less than 500 -1.5
of length N = 2’ - 1 depend only upon M and N and Let A, denote the number of M-tuples from the set
not upon the particular m-sequence or characteristic jw74 = wo, WI, *-* I W,-, whose weight equals w.
polynomial. Higher moments are shown to depend upon Let S, = CE;’ b,,, denote the difference between the
the particular characteristic polynomial as well as the number of + l’s and - l’s in the M-tuple from {b, ) start-
M-tuple length. Thus the third moment provides the ing at the nth term and note that S, = M - ZW,.
first coarse sieve for separating highly skewed distribu-
tions from the more symmetrical ones. In many applica- Moments of the Weight Distributions
tions this “skewness sieve” may provide the simplest The distributions of W, and S, and t.he set of values for
procedure for selecting adequate m-sequences or, at least, A, provide equivalent descriptions of the m-sequence.
reducing the number of candidates for a more detailed The moments of the alternative distributions are simply
analysis. related as summarized below.
As a particular example, the detailed weight distribu- Let W” and S” denote the pth moments of their respec-
tion of 500-tuples (i.e., M = 500) have been calculated tive distributions. Then
for six diierent m-sequences of length N = 223 - l.lg’
The weights of the minimum weight and maximum weight
500-tuple are shown in Table I along with the character- w-g@? (la‘!
a 0
istic polynomial in octal notation. Also shown is the
minimal degree trinomial of degree less than 500 that is
divisible by the characteristic polynomial for each se-
quence when one exists. For comparison purposes the
third moments associated with the distributions were
calculated independently and are also shown in Table I.
It can be seen that the magnitude and sign of the third
central moments do indeed separate the highly skewed
distributions from the more symmetrical.
tinct m-sequences of a given length. If the cosets are set of trinomials that are divisible by the generating
arranged properly, the coset function assignments for polynomial.
each m-sequence correspond to a cyclic permutation of The sampling or counting-off process which defines the
the proper cosets together with an accompanying permuta- set of permutations of the coset function values for the
tion among the improper cosets (see Tables II and IV). entire set of m-sequences of a given length also provides
If g(X) = 1 + xc + xd denotes a trinomial of degree cl the desired transformation of trinomials. Thus, knowledge
such that f(X) ] g(X), then f(X) ] [g2(X) = 1 + zzc + xzd]. of the complete set of trinomials for one m-sequence is
Thus, one trinomial g(X) determines a set of trinomials equivalent, in principle, to knowledge of the complete
corresponding to a pair of c0set.s where, in general, c is set of trinomials for every other m-sequence of the same
in one coset and G?is in another. In some cases c and d length. In practice one may know only a few trinomials
may be in the same coset. If f(X) ] g(X), then f(X) 1 associated with perhaps only a single pair of cosets. In
[x”-‘g(X) = 1 + xdec + x”-“1 and f(X) 1 [x”-“g(X) = 1+ this case the counting-off process yields the same number
X
N+e-d
+ JY, corresponding to two additional pairs of of trinomials for each of the other m-sequences. Such
cosets. Thus, the search for trinomials in the evaluation partial knowledge may not be very useful, however, if
of B*, for any particular m-sequence and for any given one is interested in finding the minimum-degree trinomials
M-tuple length is considerably eased by the above coset for each m-sequence. For example the cosets corresponding
relationship. For any particular long m-sequence and to a minimum-degree trinomial for one m-sequence may
M-tuple length greater than r but much less than N transform to cosets having only high-degree terms. Sec-
(i.e., r < M << N = 2’ - 1) one needs to examine only tion III contains specific examples using small families
those cosets which contain an element or elements less of short m-sequences to demonstrate the theory.
than M. From a practical computation viewpoint one
might consider testing each trinomial of degree M - 1, Generalization to Fourth and Higher Moments:
or less, in turn for divisibility by f(X). For the trinomials
of degree up to 45, the listing given in Golomb et aLL1” S4 = i N$ (“g b,.i,)’
n cl i=o
provides a good starting point. For higher-degree tri-
nomials the following algorithm provides a relatively M(M - l)‘(M + 2) + 41 N + 1
= M(3M - 2) - NB4
simple method of testing any particular trinomial for N
divisibility by f(X). where
F(0, 4, M) = M(3M - 2)
F(2, 4, M) = 4(3M - 4); M>2
F(4, 4, M) = 4!
F(l, 5, M) = 15(M - 1)” + 1
F(3, 5, M) = 6O(M - 2); M>2
F(5, 5, M) = 5!.
III. EXAMPLES
The computational difficulty associated with moments
of degree higher than three renders them questionable for
rapid evaluation of akernative m-sequences. On the other
hand, the moments of degree one and two do not depend
on the particular m-sequence for a given length. Our
attention is therefore fixed on examples of third moment
analysis.
Example I
The detailed weight distribution of 500-tuples for six
different m-sequences of length N = 223 - 1 have been
determined by Mattson and Turyn. “I For illustrative
purposes the trinomials of degree less than 500 that are
divisible by the characteristic polynomials of those six M-TUPLE LENGTH
m-sequences have been determined independently and the Fig. 1. Third central moment SC3 versus M-tuple length for six
m-sequences of length N = 223 - 1.
corresponding third moments calcuIated. The resuks for
the 500-tuples are summarized in Table I. The third mo-
signed the value 1 and tails the value - 1 or 0 for X or
ment Sz for M-tuples up to length M =( 100 are shown in
W, respectively.
Fig. 1 as a function of M. Sequences denoted by A and
B have trinomial characteristic polynomials. The min-
Example 2
imum-degree trinomials divisible by the characteristic
polynomial are themselves in these cases. Codes C and To demonstrate the application of the coset function
D also have relatively low-degree trinomials divisible by approach to the third-moment analysis consider the family
their respective charact.eristic polynomials. These first of 31-digit m-sequences. These particular exampIes are
four cases are from Golomb et al. “” By direct observation also used by Golomb”] and Gold.14’ There are six distinct
on the first 523 digits of each m-sequence it has been m-sequences of length 31. However, three of these are
established that the only trinomials of degree less than simply backward versions of the other three and therefore
500 for each m-sequence are the Bt = 5, corresponding have the same moments structure. We denote the three
to successive squaring of t,he least degree trinomial. The pairs of sequences by A, B and, C and their corresponding
remaining two codes E and F are from PetersonL1” and, characteristic polynomials by JA(X), Jz (X); fs (X), fg (X);
for these, B%j = 0 for M I 500. and f c (X), f:(X) , respectively.
The first two moments are common to each of the From PetersonL1” we find the three pairs of m-sequences
m-sequences and are given by of length 31 denoted by their characteristic polynomials
in octal notation. Thus
f,(X) : 45 = 100101 = x5 + x2 f 1
f;(x) : 51 = 101001 = Z5 + x3 + 1
fs(X) : 75 = 111101 = x5 + Z4 + x3 + x2 + 1
f;(x) : 57 = 101111 = x5 + x3 + x2 + x + 1
fc(X) : 67 = 110111 = Z? + x4 + 2’ + x + 1
f$(X) : 73 = 111011 = Z5 + x4 + xa + x + 1
For M 2 500 these are the values one would expect from The cosets and t,he coset functional values are shown in
a balanced coin-tossing experiment if heads were as- Table II for each of the six m-sequences. In each case the
574 IEEE TRANSACTIONS ON INFORMATION THEORY, JULY, 1968
TABLE II
COSET FUNCTIONS FOR THE 31 DIGIT CHARACTERISTICSEQUENCES
Characteristic Polynomial
Co = (1, 2, 4, 8, 161 i 0 : 0 : :
Cl
c2 = (3, 6,
(9, 18,12,
5, 24, 17}
10, 20) : : 1 : ii 0
12”s= (27, 23, 15, 30, 29) 1
Cq = (19, 7, 14, 28, 25) 1 : i i : b
Cl,?&= {ZS, 21, 11, 22, 13) 1 0 1 1
TABLE III
TRINOMIAL DEGREE STRUCTURE
FORTHE 31 BITTT-SEQUENCES
; 000 111
000 ;i 111
: 000 111
000 s; 111
w 100 011
000 E 111
li 001
010 2 110
101
9 010 if 101
:Y 100 011
001 20 110
12 010 101
001 :s” 110
101 010
001 :i 110
gl(X) =
g*(X) = f”(X)
f(X) = x5 + x2 + 1
= xl0 + x4 + 1 -4f ~
-11
-10
-12 L
B C
M-TUPE LENGTH
g3(X) = f”(X) = x20 + x8 + 1 b from cosets C, and C,
Fig. 2. First moment S and second and third central moments
g4(X) = f”(X) = x1* + x9 + 1 S,z, S,3 versus M-tuple length M for the family of m-sequencesol
length N = 31.
g5(X) = f’“(X) = xl8 + x + 1,
gll(x) = xZ8 + xZF + 1
From fn(X) 1 xS1-‘fA (X) = zz9 + x3 + 1 we get
g12(X) = xz5 + xzl + 1
g6(x) = x= + x3 + 1 ’ gl&X) = xl9 + xl1 + 1 + from cosets C, and C,
g7(X) = x2’ + x6 + 1 g14(X) = xz2 + x7 + 1
g*(X) = xz3 + xl2 + 1> from cosets C, and C, g15(X) = xl4 + xl3 + 1,
g,(X) = xz4 + xl5 + 1
From Table II we see that fs(X) = 75 is the charac-
gm(X) = x30 + xl7 + 1, teristic polynomial of the m-sequence B obtained by
decimating or counting off the A sequence by 3’s. From
From fA(X) j z~~-‘{~(X) = xz8 + xz6 + 1 we get fA(X) 1fA(X) = x5 + x2 + 1 we get fn(X) 12 + xl1 + 1
LINDHOLM: PSEUDO-RANDOMNESS OF SUBSEQUENCES 576
TABLE IV
COSETMOD 63 AND COSETFUNCTIONVALUESFORCHARACTERISTICSEQUENCES
Characteristic Polynomial
*
fc fA* fB fc*
Cosets Mod 63 h3 a7 155 141 163 133 Remarks
0 = (0) 0 0 0 0 0 0
Co = (1, 2, 4, 8, 16, 32) &&-3O//-Tl 0 0 : : Co to CS are proper
(71 = ‘(5, 10, 20, 40, 17, 34) 0 : cosets. Their values
C’z = (25, 50, 37, 11, 22, 44) o- ’,/O : 1 El permute cyclically.
Ca (62, 53,
Cd = (58, 61, 43,
59, 23,
55, 46,
47, 29)
31) o----x
l- /--*\ -“:-1 1 : tl 0
C’s = (38, 13, 26, 52, 41, 19) l-- /- 1 0 0 1
C6
C, == (3,
(51, 6,39,12,15,
24,30,
48,60,
33)57) + -:: SO
rl 0 Thii pair permute.
1 Value alternates.
M-tuples which are longer than the shift register and From Golomb et al. ‘12’we find a starting set of trinomials
yet much shorter than the entire m-sequence. In these divisible by one or another of the above polynomials. These
cases, as illustrated by Fig. 1, the -M3/N + together with the methods of the previous example are
[3M2(N + 1 - n/r)]/N” terms are negligible and sufficient to establish Table V.
the skewness of the M-tuple weight distribution is Table V lists the degees dj of those trinomials of the
determined by the low-degree trinomials. Thus, an form g,.(x) = 1 + xc’ + zdi that are divisible by the
obvious rule of thumb for very long m-sequences and characteristic polynomials of the three pairs of m-sequences
relatively short M-tuples is that the two-tap feedback A, B, and C.
arrangements produce relative skewed distributions.
REFERENCES
2) For the shorter m-sequences the - M3/N + 3M2 *
(N + 1 - M)/N’ terms provide a significant con- 1x1S. W. Golomb, Sequences with Randomness Properties. Balti-
more, Md.: Glenn L. Martin, June 14, 1955.
tribution to Sz for all M. The examples of Fig. 2 F1 111. Zierler, “Linear recurring sequences,” J. SIAM on Appl.
illustrates how the skewness oscillates as N increases Math., vol, 7 pp. 31-48, 1959.
131R. Gold, “Study of correlation properties of binary sequences,:’
from 1 to N. Thus the m-sequence which has the AF Avionics Lab., Wright-Patterson AFB, Ohio, Tech. Rept.
AFAL-TR-66-234, AD 48885!, August 1966.
least skewness for one range of values of M may L41R. Gold, “Characteristic lmear sequences and their coset func-
not have the least skewness in some other range of tions,” J. SISM on Appl. Math., vol. 14, pp. 980-985, 1966.
values of M. Note that S:(M) = -St(N - M). 161T. C. Rartee, and P. W. Wood, “Coding for tracking radar
ranging,” M. I. T. Lincoln Lab., Lexington, Mass., Tech. Rept. 318,
In general Sz(JQ = (-l)“S:(N - M) = (-1)“s:. June 11, 1963.
161P. D. Roberts and R. H. Davis, “Statistical properties of
(-M; Mod N) as inferred from Schmandt et al. ‘13’ smoothed maximal-length linear binary sequences,” Proc. IEE
(London), vol. 113, pp. 190-196, January 1966.
Example 3 171S. W. Golomb et al., Digital Commvnications with Space Appli-
cations. Englewood Cliffs, N. J.: Prentice-Hall, 1964.
To illustrate the coset function approach to a case when 181A. C. Aitken, Statistical Mathematics. New York: Interscience
1952.
N = 2’ - 1 is not prime, we consider the t,hird moment (91 H. F. Mattson, Jr., and R. J. Turyn, “On correlation by subse
analysis for the case r = 6, N = 26 - 1 = 63 = 32.7. quences,” Applied Research Lab., Sylvania Electronic Sys., Wal
tham, Mass., Research Note 692, February 1967.
There are only six distinct m-sequences with three being 1101W. W. Peterson, Error-Correcting Codes. Cambridge, Masc.
the backward versions of the other. The cosets and coset M. I. T. Press, and New York: Wiley, 1961.
[Ill V. Pless,. “Power moment identities on weight distribution
functions are shown in Table IV. In this case the coset in error correctmg codes,” Inform. and Control, vol. 6, pp. 147-13s
decomposition corresponds to counting off by 5’s. The 1963.
1121S. W. Golomb,z Welsh, and Hales, “On the factorization (
permutations of the proper and improper cosets are trinomials over GF(2),” Jet Propulsion Lab., California Institute I
indicated by dotted arrows to illust.rate the more com- Technology, Pasadena, Memo. 20-189, July 14, 1959.
1x31F. D. Schmandt, R. G. McLaughlin, and J. K. Wolf, “Cro
plicated situation that exists for composite-length m- correlation of maximal-length binary sequences and its subs’
sequences. Again we denote the three pairs of m--sequences ” Research and Technology Div., Rome Air Developmel
&??& Systems Command Griffiss AFB, N. Y., Tech. Rep
by A, B, C and let RAfiC-TR-67-261, August 1987.
[I41 R. C. White, Jr., “Experiments with digital computer simul
/A(X) : 103 = 001000011 = x6 + x: + 1 t,ions of pseudo-random noise generators,” IEEE Trans. Electron
Computers (Short Notes), vol. EC-16, p. 355, June 1967.
[I61 R. P. Gilson, “Some results of amplitude distribution expe
f;(x) : 141 = 001100001 = zs + x5 + 1 ments on shift register generated pseudo-random noise,” IEE
Trans. Electronic Computers (Short Notes), vol. EC-15, p. 926, r
fB(X) : 147 = 001100111 = x6 + x5 + x2 + z + 1 cember 1966.
(161I. G. Cumming, “Autocorrelation function and spectrum o
filtered pseudo-random binary sequence,” Proc. IEE (London), 1’
f;(X) : 163 = 001110011 = x6 + z5 + x4 + x + 1 114, pp. 1360-1362, September 1967.
fC(X) : 155 = 001101101 = z6 + x5 + 9 + x2 + 1 2 These references have recently been combined along with 0th
in S. W. Golomb, Shift Register Sequences. San Francisco, Cal
f:(x) : 133 = 001011011 = z6 + x4 + x3 + x: + 1 Holden-Day, 1967.