On the number of residues of linear recurrences
arXiv:2109.05734
Abstract
For every nonconstant monic polynomial , let be the set of positive integers for which there exist an integer linear recurrence having characteristic polynomial and a positive integer such that has exactly distinct residues modulo . Dubickas and Novikas proved that . We study in the case in which is divisible by a monic quadratic polynomial with roots such that and is not a root of unity. We show that this problem is related to the existence of special primitive divisors of certain Lehmer sequences, and we deduce some consequences on . In particular, for , we prove that for every integer with and .