Efficient Representation and Counting of Antipower Factors in Words

12/19/2018
by   Tomasz Kociumaka, et al.
0

A k-antipower (for k > 2) is a concatenation of k pairwise distinct words of the same length. The study of antipower factors of a word was initiated by Fici et al. (ICALP 2016) and first algorithms for computing antipower factors were presented by Badkobeh et al. (Inf. Process. Lett., 2018). We address two open problems posed by Badkobeh et al. Our main results are algorithms for counting and reporting factors of a word which are k-antipowers. They work in O(nk k) time and O(nk k + C) time, respectively, where C is the number of reported factors. For k=o(√(n/ n)), this improves the time complexity of O(n^2/k) of the solution by Badkobeh et al. Our main algorithmic tools are runs and gapped repeats. We also present an improved data structure that checks, for a given factor of a word and an integer k, if the factor is a k-antipower.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/19/2020

On repetitiveness measures of Thue-Morse words

We show that the size γ(t_n) of the smallest string attractor of the nth...
research
05/11/2021

Improved LCAs for constructing spanners

In this paper we study the problem of constructing spanners in a local m...
research
11/23/2022

Schrödinger's Bat: Diffusion Models Sometimes Generate Polysemous Words in Superposition

Recent work has shown that despite their impressive capabilities, text-t...
research
04/27/2020

In-Place Bijective Burrows-Wheeler Transforms

One of the most well-known variants of the Burrows-Wheeler transform (BW...
research
02/20/2019

Counting basic-irreducible factors mod p^k in deterministic poly-time and p-adic applications

Finding an irreducible factor, of a polynomial f(x) modulo a prime p, is...
research
05/22/2018

New Instantiations of the CRYPTO 2017 Masking Schemes

At CRYPTO 2017, Belaïd et al presented two new private multiplication al...
research
07/04/2019

The Alternating BWT: an algorithmic perspective

The Burrows-Wheeler Transform (BWT) is a word transformation introduced ...

Please sign up or login with your details

Forgot password? Click here to reset