On -regularity of sequences of valuations and last nonzero digits
arXiv:2202.09922
Abstract
Let be an integer base with prime factors . In this paper we study sequences of "-adic valuations" and last nonzero digits in -adic expansions of the values , where each is a -adic analytic function. We give a complete classification concerning -regularity of these sequences, which generalizes a result for prime obtained by Shu and Yao. As an application, we strengthen a theorem by Murru and Sanna on -adic valuations of Lucas sequences of the first kind. Moreover, we derive a method to determine precisely which terms of these sequences can be represented by certain ternary quadratic forms.