paper

On the last digit and the last non-zero digit of in base

arXiv:1203.4066

Abstract

In this paper we study the sequences defined by the last and the last non-zero digits of in base . For the sequence given by the last digits of in base , we prove its periodicity using different techniques than those used by W. Sierpinski and R. Hampel. In the case of the sequence given by the last non-zero digits of in base (which had been studied only for ) we show the non-periodicity of the sequence when is an odd prime power and when it is even and square-free. We also show that if the sequence is periodic and conjecture that this is the only such case.