Circling Infinity: String Art with Rational Numbers
Year: 2025 Authors: Andreia Hall; Nuno Bastos
Core claim
Decimal expansions of rational numbers can be transformed into string art designs on a numbered circle, producing aesthetically interesting images with unexpected vertical reflection symmetry.
Topics
rational numbers, decimal expansions, string art, workshop design, symmetry
Domains
number theory, decimal representation, modular arithmetic, periodic decimals, string art, curve stitching, generative design, mathematical art
Methods
paper template activity, Excel spreadsheet, digit-sequence plotting, workshop demonstration
Media
paper template, colored pencils, circle diagram, Excel
Paper text
The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.
Bridges 2025 Conference Proceedings
Circling Infinity: String Art with Rational Numbers
Andreia Hall¹ and Nuno Bastos¹,²
¹Center for Research and Development in Mathematics and Applications (CIDMA), University of Aveiro, Portugal; andreia.hall@ua.pt
²Polytechnic Institute of Viseu, Portugal; nbastos@estgv.ipv.pt
Abstract
Numbers play a crucial role in human culture, from simple daily tasks to complex scientific achievements. Rational numbers have been utilized for thousands of years and nowadays, we tend to represent them as decimals or fractions. These representations reveal intriguing patterns that have captivated both mathematicians and artists. Converting numbers into an image can be done in many ways, as for example through string art. We propose a workshop where participants are invited to create string art designs derived from decimal representations of rational numbers. By dividing a circle into 10 equal parts numbered from 0 to 9, infinitely repeating decimals can be transformed into visual paths defined by the sequence of digits. The resulting images have an artistic appeal reinforced by an unexpected common vertical reflection symmetry.
Introduction
The adage “A picture is worth a thousand words” applies to many contexts, including data visualization techniques used in science. Converting numbers into visual representations opens a universe of possibilities not only to scientists but also to artists and teachers.
String (or thread) art is the arrangement of threads strung between points to form geometric patterns or representational designs. Most commonly, the thread is tensioned between pins distributed on a frame. However, in some forms of string art, the string is tensioned using different techniques, such as curve stitching, where the thread is stitched through holes. In all cases, the patterns are made of straight lines which may produce curves since, as Julius Plücker (1801-1868) noticed, a curve need not be regarded as a set of points; it can just as well be described as a set of tangent lines [13].
The first person known for forming curves out of straight lines is Mary Everest Boole (1832-1916), the wife of the well-known logician George Boole (1815-1864). She used curve stitching to help teach children mathematics in the late 19th century [4]. At present, string art is very popular in the craft world. However, it also spikes the interest of artists, scientists, and teachers. Over the past few years, computer-assisted artists have expanded this art form through both digital images and real works based on digital models. The idea was boosted by Petros Vrellis in 2016 when he developed a specially designed computer algorithm to generate patterns for his series of artwork “A New Way to Knit” [17]. Vrellis and other artists after him used this art form to physically recreate portraits made by famous painters such as El Greco, Botticelli, Leonardo da Vinci, and Vermeer (see, for instance [3]). Digital string art portraits also attract artists and computer-scientists, as can be seen for instance in [2] and [4].
String art has also been used to help teach various mathematical topics at all levels, especially with regard to the envelopes produced by the straight lines. Topics that naturally arise include tangency, circles, conics, and epicycloids ([10][1][13][16]). Simpler topics are also of interest. Attractive designs can be produced by using simple modular addition and multiplication tables depicted on a circle divided into equal parts. Addition tables give rise to polygrams (see for instance [18] for an educational activity) and multiplication tables give rise to a wide variety of designs, including epicycloids (see for instance [12]). Hans-Peter Stricker noticed that multiplication graphs, created by drawing lines from a number to with numbers arranged regularly on a circle, may exhibit different cycles which can be
625
Hall and Bastos
highlighted by color and line width ([14][15]). These graphs are attractive both from an artistic and a mathematical point of view and can be used as teaching resources at an elementary level.
Inspired by these applications, we decided to create string art designs based on the decimal representations of rational numbers, as proposed in [5]. In this workshop, participants are challenged to use the same technique to create a set of designs of their choice, using a paper template and colored pencils. The following section describes the technique and presents several examples. The workshop plan is then detailed, followed by some didactical considerations and concluding remarks.
Visual Representation of Decimals Through String Art
Any real number may be expressed as a decimal, in a base 10 system, and this type of representation is the one most used. Integer numbers and part of the fractional numbers may be written as terminating decimals, but irrational numbers and some rational numbers may only be written as non-terminating decimals. Non-terminating decimals that represent rational numbers are necessarily periodic (repeating), whereas those representing irrational numbers are non-periodic.
Rational numbers may also be represented by fractions and using some results from number theory, it is possible to predict several characteristics of the decimal representation by inspection of the fraction. In summary [6, pp. 143-144]: Let be an irreducible fraction .
- If , and , then the decimal terminates after digits.
- If , where Q > 1 , , and , where is the greatest common divisor of and 10, and is the order of 10 (mod ), i.e., the least positive integer such that , then the decimal contains non-repeating and repeating digits.
Note that this result implies that all decimals of (irreducible) fractions with the same denominator have the same number of non-repeating digits and the same repetend length. It also implies that the only fractions with terminating decimals are those whose denominators have no other prime factor apart from 2 or 5. Furthermore, if the denominator is coprime with 10 then the decimal is pure repeating.
Finding the number of distinct repetends for a given denominator is not straightforward, but for prime denominators, (coprime with 10), the number of distinct repetends of the decimals of irreducible fractions with denominator is simply , where [11, p. 25].
We further refer to Midy’s theorem [8, p. 2] which allows us to predict, in some situations, the second half of the repetend given the first half. Given an irreducible proper fraction, , where is a prime (coprime with 10), and the corresponding repetend has even length , . , then, for , . As an example, consider the repetend of . . The first half, 052631578, is the complement to 9, digit by digit, of the second half, 947368421.
Bearing these results in mind, we traced the decimal expansions of all fractions with denominators coprime with 10, up to 51. To obtain them we used an Excel spreadsheet. Because Excel only provides up to 16 decimal places, we used the above-mentioned results to obtain the complete repetends for all cases exceeding this limit. We then converted these expansions into visual paths as follows.
Divide a circle into 10 equal parts numbered from 0 to 9. Create a string art design by following the path defined by the sequence of digits of a particular repeating decimal, starting after the decimal point. On the same circle trace all paths of the decimal expansions of irreducible fractions with the same denominator.
Let’s look at some particular examples. Figure 1 shows the paths of all irreducible factions with denominators 19, 13 and 11. These decimal expansions are all pure repeating. Note that there is one common path (cycle) for all fractions with (this means the repetends are the cyclic permutations of one only repetend); there are two distinct cycles for ( and ; half of the expansions
Circling Infinity: String Art with Rational Numbers
share one of the repetends) and five cycles for ( and ). Note also that in the latter case the paths reduce to line segments since the repetend length is 2.
Figure 1: Decimal trajectories of irreducible fractions with denominators 19, 13 and 11.
Looking at Figure 1, we see that all paths have vertical reflection symmetry. This is not necessarily true for other decimal expansions as can be seen in Figure 2 where we trace the decimal expansions of fractions with denominators 9 (repetends , , , , and ), 21 (repetends and ) and 41 (repetends , , , , , , and ).
Figure 2: Decimal trajectories of irreducible fractions with denominators 9, 21 and 41.
Nevertheless, there is always a vertical symmetry in the complete set of trajectories with the same denominator (a proof of this property can be seen in [5]). Note that in Figure 2, the paths from fraction with denominator 9 degenerate into isolated points since the repetend length is only 1. Overall, the paths may be points, lines or polygons (frequently self-intersecting).
The previous examples were all pure repeating decimals. Not all repeating decimals are like that. Some have non-repeating digits preceding the repetend. Nevertheless, converting them into visual paths as described before also gives rise to symmetrical string art designs as illustrated in Figure 3(a) and (b) with the paths of fractions with denominators 7 and 14 (repetend in red and nonrepeating path in blue).
(a)
(b)
(c)
(d)
Figure 3: Decimal trajectories of irreducible fractions with denominators 7 and 14 ((a) and (b)), and 4 (finite trajectory (c) and repeating trajectories (d)).
When tracing the trajectories of terminating decimals, we find that the symmetry is lost and the visual result can be rather upsetting as can be seen in Figure 3(c) depicting the paths of decimals corresponding to
Hall and Bastos
quarters. However, every terminating decimal has one repeating equivalent, adding infinitely many zeros to the right. Furthermore, it has another repeating equivalent, using infinitely many nines to the right. For example, . In general, any terminating decimal, with a_{n} > 0 , has two repeating equivalents given by , where .
By representing each terminating decimal through its two repeating equivalents, the symmetry of the string art designs is recovered as illustrated in Figure 3(d) for decimals corresponding to quarters.
We next present two digital artworks produced by the first author of this paper and based on the previously described paths. Each artwork contains 20 circular string art designs, arranged in a grid. Non-digital versions of the artworks, created using embroidered canvas, can be seen in [5].
The first artwork contains the paths of the fractional parts of the decimals of all irreducible fractions with denominators coprime with 10, up to 51. These are all pure repeating converting into closed paths. Figure 4 shows the artwork and Table 2 contains all the involved repetends. For each denominator distinct cycles have different colors. Cycles of length one, which degenerate into isolated points, are represented with a circle over the repeating digit (see denominators 3 and 9). Whenever a digit finitely repeats within a cycle, a small circle is placed on that digit (see denominators 29, 31, 43, 47 and 49).
The second artwork contains the paths of the fractional parts of the decimals of all fractions with denominators from 1 to 20. Whenever a decimal is terminating, we replace it with its repeating equivalents, terminating in and . Therefore, for each denominator, different types of paths may coexist. For instance, for denominator 6 we have: ; ; ; ; ; . In the artwork, repeating cycles are colored dark red, except for a green cycle in denominator 13 and cycles of length 1, which are all bright red. Non-repeating paths are all the same blue. Figure 5 shows the result and Table 3 contains all the paths excluding the ones already present in Table 2.
Figure 4: Digital Dancing Decimals I by the first author, 2022. Decimal trajectories of irreducible fractions with denominators coprime with 10, up to 51, digital string art.
Circling Infinity: String Art with Rational Numbers
Figure 5: Digital Dancing Decimals II by the first author, 2022. Decimal trajectories of all fractions with denominators from 1 to 20, digital string art.
Workshop Plan
This workshop unfolds in three stages.
Stage One (approximately 30 minutes): Participants are introduced to the theoretical aspects outlined in the previous section, along with several illustrative examples of decimal paths. Animated versions of some of these paths – created by the second author of this paper – are presented during this stage. While string art designs are inherently static, the animations offer real-time simulations of the paths determined by decimal expansions. Participants are encouraged to use these animations in future replications of the workshop, via the links provided in Table 3 [5]. The interactive features of the animations allow users to adjust the playback speed, pause, and restart at any point. In some cases, users can also choose which fractions to animate from within a set of fractions sharing the same denominator.
Stage Two (approximately 30 minutes): Participants explore the decimal paths of fractions based on one or more denominators of their own choosing, within the set of numbers covered in Tables 1 and 2. To determine these paths, they are encouraged to use the calculators on their mobile phones and combine the outputs with the information presented in stage one. A summary of this information is provided in a worksheet distributed during the session, which is also available for future replications in [6]. Participants may verify their findings using Tables 1 and 2, also included in the worksheet. Using these tables, all the designs shown in Figures 4 and 5 can be reproduced.
Stage Three (approximately 30 minutes): Each participant receives a paper template, colored pencils, and a ruler to draw three string art designs of their choice. They are encouraged to use the paths they discovered in stage two and may consult Tables 1 and 2 to assist in completing the task. The paper templates, also included in the worksheet [6], feature pre-printed supporting circles with ten evenly spaced points, numbered 0 to 9.
Workshop facilitators should adjust the level of challenge based on participants’ mathematical backgrounds. Those with less experience may rely primarily on the tables provided in the worksheet to
Hall and Bastos
create their designs, while more advanced participants are encouraged to derive the paths independently, using the tables for confirmation only.
Table 1: Cycles of pure repeating decimals of irreducible fractions with denominator , coprime with 10 ( is the number of distinct cycles and is the cycle length).
| q | λ | ν | Cycles |
|---|---|---|---|
| 3 | 2 | 1 | 3 6 |
| 7 | 1 | 6 | 142857 |
| 9 | 6 | 1 | 1 2 4 5 7 8 |
| 11 | 5 | 2 | 09 18 27 36 45 |
| 13 | 2 | 6 | 076923 153846 |
| 17 | 1 | 16 | 0588235294117647 |
| 19 | 1 | 18 | 052631578947368421 |
| 21 | 2 | 6 | 047619 095238 |
| 23 | 1 | 22 | 0434782608695652173913 |
| 27 | 6 | 3 | 037 074 148 185 259 296 |
| 29 | 1 | 28 | 0344827586206896551724137931 |
| 31 | 2 | 15 | 032258064516129 096774193548387 |
| 33 | 10 | 2 | 03 06 12 15 24 39 48 57 69 78 |
| 37 | 12 | 3 | 027 054 081 135 162 189 243 297 378 459 486 567 |
| 39 | 4 | 6 | 025641 051282 179487 358974 |
| 41 | 8 | 5 | 02439 04878 07317 09756 12195 14634 26829 36585 |
| 43 | 2 | 21 | 023255813953488372093 046511627906976744186 |
| 47 | 1 | 46 | 0212765957446808510638297872340425531917893617 |
| 49 | 1 | 42 | 020408163265306122448979591836734693877551 |
| 51 | 2 | 16 | 0196078431372549 0392156862745098 |
Table 2: Paths of all decimals of fractions with denominator .
| q | Paths |
|---|---|
| 1 | 0 ≡ 9 |
| 2 | 50 ≡ 49 0 ≡ 9 |
| 4 | 250 ≡ 249 50 ≡ 49 750 ≡ 749 0 ≡ 9 |
| 5 | 20 ≡ 19 40 ≡ 39 60 ≡ 69 80 ≡ 79 0 ≡ 9 |
| 6 | 16 3 50 ≡ 49 6 83 0 ≡ 9 |
| 8 | 1250 ≡ 1249 250 ≡ 249 3750 ≡ 3749 50 ≡ 49 6250 ≡ 6249 750 ≡ 749 8750 ≡ 8749 0 ≡ 9 |
| 10 | 10 ≡ 09 20 ≡ 19 30 ≡ 29 … 80 ≡ 79 90 ≡ 89 0 ≡ 9 |
| 12 | 83 16 250 ≡ 249 3 416 50 ≡ 49 … 0 ≡ 9 |
| 14 | 0714285 142857 2142857 285714 3571428 428571 50 ≡ 49 … 0 ≡ 9 |
| 15 | 06 13 20 ≡ 19 26 3 40 ≡ 39 46 53 60 ≡ 59 … 0 ≡ 9 |
| 16 | 06250 ≡ 06249 1250 ≡ 1249 18750 ≡ 18749 250 ≡ 249 … 0 ≡ 9 |
| 18 | 05 1 16 2 27 3 38 4 50 ≡ 49 5 61 6 … 0 ≡ 9 |
| 20 | 050 ≡ 049 10 ≡ 09 150 ≡ 149 20 ≡ 19 250 ≡ 249 30 ≡ 29 … 0 ≡ 9 |
Circling Infinity: String Art with Rational Numbers
Table 3: Links to interactive GeoGebra animations
Didactical Considerations
The concept of infinity has long intrigued humankind, posing challenges for both teaching and learning. One of the earliest encounters with an infinite process occurs when students attempt to express as a decimal and discover its infinitely repeating nature. While rational numbers are neatly expressed as fractions, their decimal representations can be infinitely repeating, introducing difficulties in computation and approximation.
The materials proposed in this workshop serve as valuable pedagogical tools, allowing teachers to introduce students to the concept of infinity in a more creative and intuitive manner. The visual representation of repeating decimals helps students develop a deeper understanding of rational numbers, their periodic nature, and other properties.
We have implemented these designs in pre-service teacher education, encouraging students to explore them through hands-on activities, as outlined in this workshop. This process fostered curiosity and discovery, prompting students to identify key number concepts such as pre-period digits, repetends, repetend length, the number of distinct repetends, and circular permutations of repetends. In this implementation, since students had more time than the duration proposed for the workshop, each was further challenged to complete at least one design using decimal expansion paths of fractions with denominators not included in Tables 1 and 2. Overall, by creating these patterns, students were able to observe the relationships between different fractions and their decimal representations in a more concrete way. They enhanced their number sense and developed a deeper appreciation for the intrinsic beauty of mathematical structures.
Summary and Conclusions
In this workshop, we explore an innovative approach to representing rational numbers through string art proposed by [5], transforming repeating decimals into visually appealing symmetrical designs. These artistic and mathematical representations may be used as a pedagogical tool. They facilitate conceptual understanding by bridging the abstract nature of decimal expansions with concrete, visual experiences.
By blending mathematics with art, we offer an alternative and enriching pathway for exploring numerical properties, making abstract concepts more accessible and fostering a deeper appreciation for the elegance of mathematical patterns.
Hall and Bastos
Acknowledgements
This work is supported by the Portuguese Foundation for Science and Technology (FCT - Fundação para a Ciência e a Tecnologia), within the Center for Research and Development in Mathematics and Applications (CIDMA), through project references UIDB/04106/2025 and UIDP/04106/2025.
References
[1] S. Bagai. “Scrutinizing String Art Through a Mathematical Lens.” PRIMUS, vol. 33, no. 3, 2023, pp. 314-327. https://doi.org/10.1080/10511970.2022.2068094 [2] M. Birsak, F. Rist, P. Wonka & P. Musialski. “String art: towards computational fabrication of string images.” Computer Graphics Forum, vol. 37, no. 2, 2018, pp. 263-274. https://doi.org/10.1111/cgf.13359 [3] S. Cascone. A Russian Couple Figured Out How to Recreate Famous Artworks Using Only Thread and an Algorithm Running Billions of Calculations. Artnet News, 2019. https://news.artnet.com/art-world/ani-abakumova-thread-art-computer-1626352 [4] B. Demoussel, C. Larboulette & R, Dattatreya. “A Greedy Algorithm for Generative String Art.” Bridges Conference Proceedings, Helsinki and Espoo, Finland, Aug. 1–5, 2022, pp. 63–70. http://archive.bridgesmathart.org/2022/bridges2022-63.html [5] A. Hall & N. Bastos “String Art with Repeating Decimals.” Journal of Mathematics and the Arts, vol. 18, no. 3-4, 2024, pp. 290-297. https://doi.org/10.1080/17513472.2024.2386645 [6] A. Hall & N. Bastos. Circling Infinity: String Art with Rational Numbers: Workshop Worksheet. https://drive.google.com/drive/folders/1ZHWEh6DGnPHU8vodxaFE3ranJOb5Lo1?usp=sharing [7] H. Hardy & E. Wright. An Introduction to the Theory of Numbers (5th ed.). Clarendon Press, 1979. [8] J. Lewittes. “Midy’s Theorem for Periodic Decimals.” INTEGERS: Electronic Journal of Combinatorial Number Theory, vol. 7, no. 1, 2007, pp. 1-11. https://www.emis.de/journals/INTEGERS/papers/h2/h2.pdf [9] E. Maor & E. Jost. Beautiful Geometry. Princeton University Press, 2014. [10] J. Millington. Curve stitching, the art of sewing beautiful mathematical patterns. Tarquin publications, 2007. [11] F.S.T. Pires. Representação dos números na forma decimal e generalização a outras bases [Master’s thesis]. University of Aveiro, 2013. http://hdl.handle.net/10773/13317 [12] B. Polster & G. Geracitano. Times Tables, Mandelbrot and the Heart of Mathematics. Mathology, youtube channel, 2015. https://www.youtube.com/watch?v=qhbuKbxJsk8&ab_channel=Mathologer [13] G. Quenell. “Envelopes and String Art.” Mathematics Magazine, vol. 82, no. 3, 2009, pp. 174-185. https://doi.org/10.1080/0025570x.2009.11953616 [14] H.-P. Stricker. “Patterns in multiplication graphs.” Bridges Art Exhibition Catalogue, 2019, pp. 152-152. [15] H.-P Stricker. Drawings by Numbers. Abacoo, 2019, youtube channel. https://www.youtube.com/watch?v=fAbWX2wKa68&ab_channel=abacoo [16] C. von Renesse & V. Ecke. “Discovering the art of mathematics: Using string art to investigate calculus.” PRIMUS, vol. 26, no. 4, 2016, pp. 283-296. https://doi.org/10.1080/10511970.2015.1124160 [17] P. Vrellis. A new way to knit (2016). Petros Vrellis, New Media Artist. http://artof01.com/vrellis/works/knit.html [18] A. Weltman. This Is Not a Maths Book. The Ivy Press, 2015.
632