Sums of Digits, Overlaps, and Palindromes
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) mod 2) n≥0 is overlap-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 intege...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Discrete Mathematics & Theoretical Computer Science
2000-12-01
|
Series: | Discrete Mathematics & Theoretical Computer Science |
Online Access: | http://www.dmtcs.org/dmtcs-ojs/index.php/dmtcs/article/view/110 |
id |
doaj-341cc39bcc124a64bf8a132af64477f3 |
---|---|
record_format |
Article |
spelling |
doaj-341cc39bcc124a64bf8a132af64477f32020-11-24T23:35:42ZengDiscrete Mathematics & Theoretical Computer ScienceDiscrete Mathematics & Theoretical Computer Science1462-72641365-80502000-12-0141Sums of Digits, Overlaps, and PalindromesJean-Paul AlloucheJeffrey ShallitLet 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) mod 2) n≥0 is overlap-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) mod 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. http://www.dmtcs.org/dmtcs-ojs/index.php/dmtcs/article/view/110 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Jean-Paul Allouche Jeffrey Shallit |
spellingShingle |
Jean-Paul Allouche Jeffrey Shallit Sums of Digits, Overlaps, and Palindromes Discrete Mathematics & Theoretical Computer Science |
author_facet |
Jean-Paul Allouche Jeffrey Shallit |
author_sort |
Jean-Paul Allouche |
title |
Sums of Digits, Overlaps, and Palindromes |
title_short |
Sums of Digits, Overlaps, and Palindromes |
title_full |
Sums of Digits, Overlaps, and Palindromes |
title_fullStr |
Sums of Digits, Overlaps, and Palindromes |
title_full_unstemmed |
Sums of Digits, Overlaps, and Palindromes |
title_sort |
sums of digits, overlaps, and palindromes |
publisher |
Discrete Mathematics & Theoretical Computer Science |
series |
Discrete Mathematics & Theoretical Computer Science |
issn |
1462-7264 1365-8050 |
publishDate |
2000-12-01 |
description |
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) mod 2) n≥0 is overlap-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) mod 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. |
url |
http://www.dmtcs.org/dmtcs-ojs/index.php/dmtcs/article/view/110 |
work_keys_str_mv |
AT jeanpaulallouche sumsofdigitsoverlapsandpalindromes AT jeffreyshallit sumsofdigitsoverlapsandpalindromes |
_version_ |
1725525142796238848 |