Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Sums of Digits, Over ...
Article

Sums of Digits, Overlaps, and Palindromes

Jean-Paul Allouche ORCID (1), Jeffrey Shallit ORCID (2)
(1) Laboratoire de Recherche en Informatique
(2) Department of Computer Science [Waterloo ]
Download article
Open on HAL
Imported on
March 26, 2015
Published on
January 1, 2000
Last modified on
March 31, 2025
Volume 4
vol. 4:1
DOI
10.46298/dmtcs.282
License
https://about.hal.science/hal-authorisation-v1
Natural Sciences and Engineering Research Council of Canada
Indicators
862
Views
912
Downloads

Sums of Digits, Overlaps, and Palindromes

Jean-Paul Allouche ORCID (1), Jeffrey Shallit ORCID (2)
(1) Laboratoire de Recherche en Informatique
(2) Department of Computer Science [Waterloo ]
Abstract
Let s_k(n) denote the sum of the digits in the base-k representation of n. In a celebrated paper, Thue showed that the infinite word (s_2(n) \bmod 2)_n≥ 0 is \emphoverlap-free, i.e., contains no subword of the form axaxa where x is any finite word and a is a single symbol. Let k,m be integers with k>2, m≥ 1. In this paper, generalizing Thue's result, we prove that the infinite word t_k,m := (s_k(n) \bmod m)_n≥ 0 is overlap-free if and only if m≥ k. We also prove that t_k,m contains arbitrarily long squares (i.e., subwords of the form xx where x is nonempty), and contains arbitrarily long palindromes if and only if m≤ 2.
Keywords
  • [INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
  • sum of digits
  • overlap-free sequence
  • palindrome
Cited by

Source: OpenCitations

  • Palindrome complexity

    Theoretical Computer Science

    Authors : Jean-Paul Allouche ORCID, Michael Baake ORCID, Julien Cassaigne, David Damanik ORCID

    Journal reference : Volume 292, 2003, pp. 9-31

    DOI : 10.1016/s0304-3975(01)00212-2
  • On the critical exponent of generalized Thue-Morse words

    Discrete Mathematics & Theoretical Computer Science

    Authors : Alexandre B. Massé, Srečko Brlek, Amy Glen, Sébastien Labbé ORCID

    Journal reference : Volume Vol. 9 no. 1, 2007, pp.

    DOI : 10.46298/dmtcs.397
Preview
Loading PDF preview...