Trapping in Self-Avoiding Walks with Nearest-Neighbor Attraction
Abstract
The statistics of self-avoiding random walks have been used to model polymer physics for decades. A self-avoiding walk that grows one step at a time on a lattice will eventually trap itself, which occurs after an average of 71 steps on a square lattice. Here, we consider the effect of nearest-neighbor attractive interactions on the growing self-avoiding walk, and examine the effect that self-attraction has both on the statistics of trapping as well as on chain statistics through the transition between expanded and collapsed walks at the theta point. We find the trapping length increases exponentially with the nearest-neighbor contact energy, but that there is a local minimum in trapping length for weakly self-attractive walks. While it has been controversial whether growing self-avoiding walks have the same asymptotic behaviour as traditional self-avoiding walks, we find that the theta point is not at the same location for growing self-avoiding walks, and that the persistence length converges much more rapidly to a smaller value.
I Introduction
A self avoiding walk (SAW) is a random walk on which no two sites share the same location. In polymer physics, SAWs are used to model excluded-volume repulsion between two segments of a molecule, and the statistics of self-avoiding walks can be used to make measurable predictions about the scaling behavior of polymers and polymer solutions mckenzie1971shape . Typically, the statistics of a self-avoiding walk are averaged over every member of the ensemble that consists of every walk of the same length, assuming that each is equally probable. In contrast, a Growing Self-Avoiding Walk (GSAW) on a lattice can be be generated by taking a step in a random direction from on a lattice site, then a subsequent random step to an open neighboring lattice site, continuing to walk randomly to any unoccupied site until no more sites are available lyklema1986monte . While every SAW on a specific lattice can in principle be generated as a GSAW, there are two key differences between the GSAW and traditional SAW ensemble, the first being that GSAWs are likely to reach a state where there are no free adjacent sites and the walk becomes “trapped” and terminates hemmer1984average , and the second that each N-step walk is not equally likelylyklema1986monte . It has been debated as to whether the GSAW belongs to the same universality class as the traditional SAW majid1984kinetic .
Trapping is often considered as a bug rather than a feature; various forms of the Rosenbluth method for generating SAW ensembles bias the walk conditions in order to avoid trapping grassberger1997pruned . GSAWs have been proposed as models for polymers whose growth timescales are faster than their relaxation timescales, or more generally as models for polymer growth hemmer1986trapping . Recent investigations into active nematic gels based on microstubule polymerization decamp2015orientational or so-called “living” micellar solutions korobko2016near serve as physical examples. As players of the video game Snake are acutely aware, a growing self-avoiding walk will eventually become trapped. This was proven by Hemmer and Hemmer hemmer1986trapping , and simulation of 60,000 GSAWs on a square lattice found that the mean distance reached before trapping was approximately 71 steps, with a probability distribution that peaks near 33 steps. A subsequent thesis by Renner renner1996self examined trapping in triangular, honeycomb, and simple cubic lattices (among others), and found that the mean length to trapping is approximately 78, 70, and 4000 respectively. The most detailed numerical simulations of GSAW trapping are those of the enthusiast Hugo Pfoertner pfoertner , whose simulations are precise enough to identify strong even-odd asymmetry in the trapping probability distribution. In the language of polymer physics, a “good solvent” is one in which excluded volume interactions between distant parts of the chain cause a polymer to adopt a “swollen coil” configuration that is larger than a non-interacting chain of the same length, described by the statistics of a self-avoiding walk. A “poor solvent” is one in which effective attractive interactions between distant parts of the chain dominate over excluded volume and the chain forms a compact “globule” that is more compact than an equivalent length non-interacting chain. The coil-globule phase transition between the two occurs in what is known as a “theta solvent,” in which the attractive and repulsive interactions exactly cancel and the polymer can be described by the statistics of a random walk pelissetto2005corrections .. In practice, the theta point can be found either by fixing the interaction strength and varying the temperature, or by fixing the temperature and varying the interaction strength with the reciprocal effect. An analogous transition between a swollen and compact states may be observed in self-avoiding random walks on lattices, where poor-solvent interactions are implemented in terms of a free energy based on the number of nearest-neighbor contacts between non-adjacent sites on each walk chang1992surface , Exact enumeration ishinabe1985examination Monte Carlo meirovitch1989collapse and renoramlization group seno1988theta analysis have identified the theta condition for square lattice SAWs, in terms of the critical self-attraction strength and the asymptotic behavior at the transition. While attractive interactions are known to change the asymptotic behavior of self-avoiding walks, and the growing self-avoiding walk is known to have different behavior from the traditional self-avoiding walk, there has been no examination of the effects of self-attraction on the growing self-avoiding walk. Here, we examine the effect of nearest-neighbor self-attraction on the growing self-avoiding walk in order to ascertain the correlation between trapping statistics and solvent quality and to provide further insight on the differences between the SAW and GSAW ensembles.
II Theory and Simulations

A “walk” on a square lattice begins at the site . It takes its first step towards any of the n=4 nearest-neighbor sites with equal probability. For its second step, there are now n=3 unoccupied adjacent lattice sites. Steps may be taken probabilistically into unoccupied adjacent sites until none remain, at which point the walk is said to have become trapped. The earliest that this can occur is after 7 steps. Figure 1 shows examples of walks that have become trapped after 19 and 99 steps.
For a purely self-avoiding walk, probability of taking a subsequent step to an open lattice site is :
More formally, each of the n available steps may be assigned a free energy F such that a partition function Z may be defined:
(1) |
the thermodynamic is the reciprocal of the thermal energy, equivalent to 1/T in natural units. The probability of each of the n available steps is:
(2) |
In a system with no interactions beyond self-avoidance, and the probability of each step is that of a self avoiding walk, which on a square lattice may be for the first step, and , , or 1 for each subsequent steps depending on the number of empty adjacent sites. The probability of stepping towards an occupied site is always zero, in contrast to the Domb-Joyce model barrett1990domb in which an energetic cost is given to multiply-occupied sites, or the self-avoiding trail model in which only lattice sites but not edges may be shared lyklema1985growing .
To study effects analogous to those experienced between non-adjacent monomers in a polymer chain in a poor solvent, we include a negative free energy associated with nearest-neighbor contacts between non-adjacent sites (indicated with gray arrows in Fig. 1 a-b). Such a model is typically used when discussing the theta-point transition in lattice walks. The free energy of each walk in the ensemble depends favorably on the total number of non-adjacent occupied nearest-neighbor lattice sites, with interaction energy per pair:
(3) |
The partition function and probabilities may be written:
(4) |
(5) |
In simulations parameterized to physical polymers, poor-solvent behavior corresponds roughly to values of above 0.5 pam2007simulation . In the GSAW ensemble, the number of new nearest-neighbor contacts arising from a step will be between 0 and 3. Since each possible state shares a common “history,” the number of contacts in the N-1th step may be subtracted from each choice for the partition function of the Nth step. For example, the final step in Fig. 1a gains three new nearest-neighbor contacts. If the last step had been up instead of right, it would have gained 1 new contact, and 0 if it had been to the left. The probability of taking the final step in the right direction would thus be:
(6) |
Growing self-avoiding walks were simulated with MATLAB using parallel CPU computation. The uniform random number generation in MATLAB is based on the Mersenne Twister moler2004numerical . Walks were simulated for from 0 to 0.6 in increments of 0.01, and up to 3.3 in increments of 0.1. At least 75,000 walks were generated for each value of , with additional walks generated for specific values of interest. 1.25 million were generated for the =0 case. For values of 6 and 10, 100,000 walks of maximum length 600 were generated to study chain statistics, but it was computationally unfeasible to study trapping at large .
III Results and Discussion: Trapping
There are several metrics that can characterize the characteristic length of a self-trapping walk, including the mean, median, and peak of the probability distribution. Here, we will primarily discuss the mean trapping length and its dependence on the nearest-neighbor attraction strength. Other metrics of the trapping distribution are presented in the appendix.
In the simple case of zero self-attraction, we find that the mean trapping length is 70.85 0.05, consistent with the findings of Hemmer and Hemmer hemmer1984average , and within two standard errors of the computations from Pfoertner pfoertner . The findings from Renner renner1996self are approximately 1.0 greater than Hemmer, Pfoertner, and the present work, suggesting a node-vs-step counting error.
Trapping requires that the walk first creates a void bounded by occupied sites, and then walks into the void. Voids are unlikely to form in the limit of strong self-attraction, so it may be expected that the mean trapping length increases with the attraction strength. Indeed, we do observe an exponential increase in the mean trapping length with respect to (Fig. 1a). For . the mean trapping length increases exponentially, approximately described by the function . The largest value of for which we measured full trapping statistics was 3.3, at which the mean trapping length was 1152. In 100,000 runs up to length 600, only 120 walks became trapped at (the lowest at 77 steps) and no trapping events were observed at .

Notably, there is a local minimum at approximately at which the mean trapping length is 67.2 (Fig. 2b). While counterintuitive, the local minimum may be understood by considering that a walk entering a previously formed void will likely have more nearest-neighbor contacts than if it were to avoid the void. When self-attraction is strong, voids are less likely to form for walks to become trapped, but when self-attraction is weak, there is no bias to walk into the voids that do form. The local minimum in the trapping length arises when there is sufficient self-attraction to bias the walks into voids, without suppressing their formation altogether.

To further understand the local minimum in the mean trapping length, we can consider the the shortest trapped state as an example, which can occur after 7 steps. To become trapped after 7 steps (Fig. 3a), the third and fifth step must both be in an unfavored direction in order to open a void, while the final step must be the most-favored step into the void. The exact probability can of trapping after 7 steps can be calculated from the product of the probability of each necessary step:
(7) |
This is derived in further detail in the appendix. The minimal trapping probability is non-monotonic with respect to the attraction strength, with a local maximum at approximately 0.234. The minimal trapping probability is well-described by numerical data (Fig. 3b). The maximum in the N=7 trapping probability is analogous to the minimum in the mean trapping length. In principle, one could calculate exact probabilities for longer trapped states and derive the mean trapping length , but this becomes difficult as the number of possibilities increases. The minimal trapping probability for the triangular and honeycomb lattices can also be derived, showing that the same local maximum exists in the triangular lattice, but not the honeycomb.

The distribution of trapping lengths was previously described by Hemmer and Hemmer hemmer1984average as power-law growth below the peak and exponential decay beyond the peak, finding that for , . Renner renner1996self described similar behavior with a more complex function. We may examine histograms of trapping probability at various and see that the peaks are indeed shifted to the right and the tails become broader. We can, in prinicple, make similar fits to histograms and examine how the fit parameters depend on . This, however, is fundamentally misguided because the trapping probability is not characterized by a single distribution, but two. Even-odd asymmetry in the trapping probabilities has been observed for , with odd-valued trapping being slightly more likely (for example, the probability of trapping after 8 steps is 5/6 that of 7 steps). This can be explained by the abundance of trapped SAWs of various lengths, which itself has even-odd dependence pfoertner . The asymmetry becomes more pronounced with increasing , where histograms can be seen to clearly diverge into to separate curves of different parity (Fig. 4). The probability of trapping in an even state decreases continuously with , but the distribution of even trapping lengths is typically longer than that of odd: the ratio of the mean of the odd-length to even-length walks reaches a plateau of about 1.05 (Fig. 5). It may be conjectured that the parity asymmetry is an artefact of the square lattice. We also note that the non-monotonic trend in the trapping probability with respect to the attraction strength is not present in the parity asymmetry.

IV Results and Discussion: Chain Statistics
While the primary aim of this study was to examine the effect of self-attraction on self-trapping, we may also examine the statistics of the growing self-avoiding walk ensemble in comparison to traditional self-avoiding walks. We preface this by noting attrition due to self-trapping leads to significantly reduced samples of large walks, which are most important for evaluating critical behavior.
The metrics we use to discuss chain statistics are the radius of gyration, , which is the standard deviation of the position of every node in the walk. It may be compared to the end-to-end distance, , which is the Pythagorean distance between the origin and the Nth site. Both the end-to-end distance and the radius of gyration are expected to scale according to a power law with respect to N for sufficiently long walks, described by an exponent , referred to as the scaling exponent.
For traditional SAWs in two dimensions, the “good solvent” scaling exponent is 0.75, known as the Flory exponent. For compact chains, because the area of a walk is proportional to its length, the exponent is expected to be 0.5. For asymptotically long chains, the exponent is 0.75 at any temperature above the theta point and 0.5 at any temperature below it, with a discrete transition at which point the exponent is 4/70.57. For finitely long chains, there is a smooth transition from 0.75 through 4/7 towards 0.5 owczarek1994universal .
There has been uncertainty in the literature over whether the GSAW follows the same asymptotic behavior as the traditional SAW. Initially it was determined by Majid et al. majid1984kinetic to be 0.66, followed by Lyklema and Kremer lyklema1984growing who estimated 0.68, both below the Flory value of 0.75. Subsequently, Lyklema and Kremer later argued that it would approach the Flory value for walks that were of such great lengths that it would likely never be seen via simulation lyklema1986monte .
To understand why the GSAW may be asymptotically more compact than the SAW, consider the probability of finding a walk extended along a straight line. For the GSAW, the first step may be taken in any direction, and each subsequent step has a 1/3 probability of remaining straight. The probability of finding a length-N GSAW in a straight line is thus . For a SAW of length N, there are 4 extended walks, and asymptotically total walks grimmett2019self , meaning the probability of finding a straight path is . It is asymptotically much more likely to find an extended SAW than an extended GSAW, and it can be argued that GSAWs are asymptotically more compact.
While we cannot answer the question of asymptotic scaling in the affirmative or negative, we can examine the effect of self-attraction on GSAW statistics in order to identify the swollen-compact transition at the theta point. For a square lattice SAW with nearest-neighbor attraction in two dimensions, the transition occurs at with a scaling exponent of 4/7 caracciolo2011geometrical .
The scaling of the mean radius of gyration as a function of walk length for several values of may be seen in Fig. 6a. Generally, the radius scales as a power law, with the exponent decreasing with increasing self attraction. For the scaling is similar to the 0.68 seen by Lyklema and Kremer lyklema1984growing , while for large it approaches the 0.5 expected in the compact state. We note that for large , the behavior of a growing walk is essentially that of an expanding spiral, and many of the traits of an ensemble of “random” walks are no longer seen.
Fig. 6b shows the results of least-squares power-law fits to various parts of the -vs-N data. As expected, there is a smooth transition with from between 0.65 and 70 at to a compact state near 0.5 for large . The transition is sharper when the fit is made with larger values of N, but does not become discrete. One means of identifying the theta point is to find the value of the attraction strength for which length-dependence vanishes. While the curves appear to converge near , they do not meet at a single point. Rather, the intersection between two curves tends to move towards larger with increasing length. We note that the traditional SAW point, at and , is entirely inconsistent with the GSAW data, and we expect from Fig. 6b that more data at increased lengths would push the transition towards even larger . We present additional data to support this in the appendix. Although we have not uniquely identified the point for the GSAW, we can conclusively refute the hypothesis that it is the same as the SAW.

Another metric we can examine is the ratio between the squares of the radius of gyration to the end-to-end distance, also known as a Universal Amplitude Ratio. This ratio reaches a universal constant for asymptotically long polymers, which is approximately 0.18 at the theta point for square lattice walks caracciolo2011geometrical . In the swollen regime the ratio is approached from below with respect to length, while in the collapsed regime it is approached from above, and the theta point, there is approximate length independence grassberger1997pruned . Examining the data in Fig. 7a it can be seen that the ratio increases with small N for values of above 1.5 and decreases below it. For any value of , however, there is a length beyond which the ratio begins to decrease such that no value of will produce a horizontal curve. Fig. 7b shows the ratio at several lengths as a function of the attraction strength with a similar trend to the scaling exponent data, that there is minimal but nonzero length dependence around , but that it moves towards greater with increasing length. Similar to the scaling exponent data, there is no single value of for which the Universal Amplitude Ratio converges independently of length, and to the extent that there is convergence, it is not at the SAW value of either or .

A final parameter of interest is the persistence length of the walk, sometimes known as the persistency to distinguish it from the persistence length of the wormlike chain. The persistence length of a self-avoiding walk represents the “memory” a walk has for the direction of its first step. It is defined by Grassberger grassberger1982persistency over an ensemble of walks of length N as the mean coordinate of the Nth step in the direction of the first step, or equivalent, the dot product of the position vector of the Nth step and the first step.

Based on enumerations of self-avoiding walks on the square lattice, Grassberger concluded that the persistence length diverged with a 0.06 power law dependence on length grassberger1982persistency . Redner redner1987persistency argued using the same data that the persistence was logarithmically divergent, rather than obeying a power law. Eisenberg eisenberg2003persistence later used Monte Carlo techniques and examined angular correlation functions to argue that they decayed in such a way as to imply a finite persistence length. Granzotti et al., recently extended from Eisenberg’s result that the persistence length was in fact 2.66 granzotti2016scaling .
Fig. 8a shows the persistence as a function of length for four values of . In general, the persistence converges beyond 10 or 20 steps, with noticeable even-odd effects. The convergent value typically decreases with increasing attraction strength. For the case, the persistence converges to approximately 1.4020.001. It is tantalizing but unjustified to ascribe the square root of two to this value. Fig. 8b shows the persistence length as a function of attraction strength, which decreases smoothly from 1.4 towards approximately 0.5. Compared to the ongoing controversy over the convergence of the SAW persistence, as well as to finite-length effects in other metrics, it is quite clear that the GSAW persistence converges.
V Conclusion
Including nearest-neighbor attraction in the growing self-avoiding walk tends to increase the average number of steps before trapping. However, a local minimum in the trapping length arises for weak values of self-attraction. This can be understand with the idea that a walk must both open a void and step into in order to become trapped, and strongly self-attractive walks do not open voids but weakly self-attractive walks will not necessarily step into them. Investigating the chain statistics of the GSAW ensemble in comparison to the traditional SAW, we have shown that the theta point, if it exists, does not occur at the same value of , and that the persistence length is convergent and approximately half that of the SAW. Many of the effects seen in the limit of strong attraction manifest themselves as odd-even effects that may be artefacts of the square lattice and inclusion of only nearest-neighbor interactions. Broadening the analysis to other lattices and including next-nearest-neighbor interactions would be a worthwhile future investigation. It may be asked whether there is a correlation between trapping statistics and chain statistics, in the same way that the growth of SAW enumerations shares a parameter with its metric scaling slade2011self . This is not manifestly the case, as most interesting feature of the trapping statistics occurs at and the most interesting feature of chain statistics occurs at . We hope that this work encourages more computationally sophisticated investigations into GSAW chain and trapping statistics.
Acknowledgements
The authors are grateful to Beatrice W. Soh and Galen Pickett for helpful comments. W.H. is supported by the CSULB Undergraduate Research Opportunity Program.
References
- [1] DS McKenzie and MA Moore. Shape of self-avoiding walk or polymer chain. Journal of Physics A: General Physics, 4(5):L82, 1971.
- [2] JW Lyklema and K Kremer. Monte carlo series analysis of irreversible self-avoiding walks. ii. the growing self-avoiding walk. Journal of Physics A: Mathematical and General, 19(2):279, 1986.
- [3] S Hemmer and PC Hemmer. An average self-avoiding random walk on the square lattice lasts 71 steps. The Journal of Chemical Physics, 81(1):584–585, 1984.
- [4] Imtiaz Majid, Naeem Jan, Antonio Coniglio, and H Eugene Stanley. Kinetic growth walk: A new model for linear polymers. Physical review letters, 52(15):1257, 1984.
- [5] Peter Grassberger. Pruned-enriched rosenbluth method: Simulations of polymers of chain length up to 1 000 000. Physical Review E, 56(3):3682, 1997.
- [6] PC Hemmer and S Hemmer. Trapping of genuine self-avoiding walks. Physical Review A, 34(4):3304, 1986.
- [7] Stephen J DeCamp, Gabriel S Redner, Aparna Baskaran, Michael F Hagan, and Zvonimir Dogic. Orientational order of motile defects in active nematics. Nature materials, 14(11):1110–1115, 2015.
- [8] Alexander V Korobko and Nicolaas AM Besseling. Near-second-order transition in confined living-polymer solutions. Physical Review E, 93(3):032507, 2016.
- [9] A Renner, E Bornberg-Bauer, IL Hofacker, PK Schuster, and PF Stadler. Self-avoiding walk models for non-random heteropolymers. Thesis, 1996.
- [10] Hugo Pfoertner. Self trapping random walks. http://www.randomwalk.de/index.html. Accessed: 2020-06-9.
- [11] Andrea Pelissetto and Jean-Pierre Hansen. Corrections to scaling and crossover from good-to -solvent regimes of interacting polymers. The Journal of chemical physics, 122(13):134904, 2005.
- [12] Iksoo Chang and Hagai Meirovitch. Surface critical exponents of self-avoiding walks and trails on a square lattice: The universality classes of the and ’points. Physical review letters, 69(15):2232, 1992.
- [13] T Ishinabe. Examination of the theta-point from exact enumeration of self-avoiding walks. Journal of Physics A: Mathematical and General, 18(16):3181, 1985.
- [14] H Meirovitch and HA Lim. The collapse transition of self-avoiding walks on a square lattice: A computer simulation study. The Journal of chemical physics, 91(4):2544–2554, 1989.
- [15] F Seno and AL Stella. point of a linear polymer in 2 dimensions: a renormalization group analysis of monte carlo enumerations. Journal de Physique, 49(5):739–748, 1988.
- [16] AJ Barrett. On the domb-joyce model for self-avoiding walks in the continuum. Journal of statistical physics, 58(3-4):617–626, 1990.
- [17] JW Lyklema. The growing self-avoiding trail. Journal of Physics A: Mathematical and General, 18(10):L617, 1985.
- [18] LaKedra S Pam, Larissa L Spell, and James T Kindt. Simulation and theory of flexible equilibrium polymers under poor solvent conditions. The Journal of chemical physics, 126(13):04B604, 2007.
- [19] Cleve B Moler. Numerical computing with MATLAB. SIAM, 2004.
- [20] AL Owczarek, T Prellberg, D Bennett-Wood, and AJ Guttmann. Universal distance ratios for interacting two-dimensional polymers. Journal of Physics A: Mathematical and General, 27(24):L919, 1994.
- [21] JW Lyklema and K Kremer. The growing self avoiding walk. Journal of Physics A: Mathematical and General, 17(13):L691, 1984.
- [22] Geoffrey R Grimmett and Zhongyang Li. Self-avoiding walks and connective constants. In Sojourns in Probability Theory and Statistical Physics-III, pages 215–241. Springer, 2019.
- [23] Sergio Caracciolo, Marco Gherardi, Mauro Papinutto, and Andrea Pelissetto. Geometrical properties of two-dimensional interacting self-avoiding walks at the -point. Journal of Physics A: Mathematical and Theoretical, 44(11):115004, 2011.
- [24] P Grassberger. On persistency in self-avoiding random walks. Physics Letters A, 89(8):381–384, 1982.
- [25] CRF Granzotti, Alexandre Souto Martinez, and MAA da Silva. Scaling analysis of random walks with persistence lengths: Application to self-avoiding walks. Physical Review E, 93(5):052116, 2016.
- [26] S Redner and V Privman. Persistency of two-dimensional self-avoiding walks. Journal of Physics A: Mathematical and General, 20(13):L857, 1987.
- [27] Eli Eisenberg and Asher Baram. The persistence length of two-dimensional self-avoiding random walks. Journal of Physics A: Mathematical and General, 36(8):L121, 2003.
- [28] Gordon Slade. The self-avoiding walk: A brief survey. Surveys in Stochastic Processes, 4:181, 2011.
- [29] Nicholas R Beaton, Anthony J Guttmann, and Iwan Jensen. Two-dimensional interacting self-avoiding walks: new estimates for critical temperatures and exponents. Journal of Physics A: Mathematical and Theoretical, 53(16):165002, 2020.
Appendix
Alternative Trapping Metrics
Fig A1.a shows the median and distribution peak of the trapping length as a function of the attraction strength alongside the mean. The peak of the distribution is found based on a fit to each trapping histogram using Hemmer and Hemmer’s power-exponential function [3]. This measurement is less noisy than the mode of the distribution, but may slightly overpredict the location of the peak (within one step length), in addition to ignoring parity effects. Fig. A1.b shows the ratio of the median and peak to the mean, both of which increase weakly with the attraction strength.

V.1 Minimal Trapping Probability
Consider the 7 labelled steps in Fig. 3a. There are eight possible configurations, with four-fold rotational symmetry on the first step and two-fold reflection symmetry on the second step. We will consider the probability that each of the first 7 steps of a walk will be the step required for minimal trapping. The first step may be taken in any direction.
The second step may be taken in any of three directions, two of which lead to trapping.
Assuming without loss of generality that the first two steps are in the +x and +y direction as in Fig. 3a, if the third step is taken in the -y direction it will increase the number of neighbor contacts by 1. The probability of the necessary third step is:
The fourth step cannot change the number of contacts.
The fifth step is similar to the third in that it must avoid increasing the number of contacts by 2.
The sixth step cannot change the number of contacts.
Finally, the seventh step must be in the +y direction to increase the number of contacts by 3 in order to become trapped. An alternative step in the -x direction would increase the number of contacts by 1, and a step in the -y direction would leave it unchanged:
The product of each of these probabilities is the total probability of becoming trapped after 7 steps, as outlined in Eq. 7 and plot in Fig. 3b. There are two non-degenerate 8-step trapped walks, the probability of which are left as an exercise to the reader.

V.2 Length Dependence of Scaling Exponents
Fig. 6b shows best-fit scaling exponents at various lengths. Following the conventions of Lyklema and Kremer [21] and others we can define the “local” scaling exponent for walks of a given length as:
Fig. A2 shows the local scaling exponent at various values of as a function of reciprocal length, such that its behavior may be extrapolated towards asymptotically long chains. The data is truncated when it becomes sufficiently noisy. Each curve starts at small N at a local maximum (the “rodlike” limit), reaches a global minimum, and then approaches its asymptotic limit as (1/N) approaches 0. The second conclusion of Lyklema and Kremer [2] is that the asymptotic limit of the data is 0.75, which we cannot support or refute with our current data. The jagged behavior of the data is a lattice-induced parity effect. Although each set of data approaches its asymptotic limit from below, if there is a discrete transition at a theta point, we might expect data beyond that point to approach the limit from above [29], which is not observed.