S
OROOSH
Y
AZDANI
Multiplicative functions and k-automatic sequences
Journal de Théorie des Nombres de Bordeaux, tome
13, n
o2 (2001),
p. 651-658
<http://www.numdam.org/item?id=JTNB_2001__13_2_651_0>
© Université Bordeaux 1, 2001, tous droits réservés.
L’accès aux archives de la revue « Journal de Théorie des Nombres de Bordeaux » (http://jtnb.cedram.org/) implique l’accord avec les condi-tions générales d’utilisation (http://www.numdam.org/conditions). Toute uti-lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte-nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
Multiplicative
functions
and
k-automatic
sequences
par SOROOSH YAZDANI
RÉSUMÉ. Une suite est dite
k-automatique
si son ne terme peutêtre
engendré
par une machine à états finis lisant en entrée ledéveloppement
de n en base k. Nous prouvons que, pour denom-breuses fonctions
multiplicatives f,
la suite(f(n)
modu)n~1
n’est pask-automatique.
C’est enparticulier
le cas pour les fonctionsmultiplicatives 03C4m(n), 03C3m(n), 03BC(n)
et~(n).
ABSTRACT. A sequence is called k-automatic if the n’th term in
the sequence can be
generated by
a finite statemachine,
reading
n in base k as input. We show that for many
multiplicative
func-tions, the sequence
(f(n)
modu)n~1
is not k-automatic.Among
thesemultiplicative
functions are03C4m(n),
03C3m(n),
03BC(n),
and~(n).
We call a function
f :
N B
101
- Cmultiplicative,
if for all m, n EN B
101,
m and ncoprime,
we havef (mn)
=f (m) f (n).
As usual letT(n),
Q(n), ~(n),
represent
the number of divisors of n, sum of the divi-sors of n, number of numbers less than orequal
to n andprime
to n,and the M6bius function
respectively.
We know thatT(~),
Q(n), ~(n),
and/-L(n)
aremultiplicative.
Also let be number of elements in{ ~au a2~ ... a~)
I
alaz ... am = n andal,a2,... ,am E
N‘ ~
~0~ ~.
Thenwe have
where
pi’s
are distinctprimes
(see
forexample
[9,
p.72]).
Furthermore letRecall that is
multiplicative
for allintegers
m. Note thatal(n) =
a (n),
andT2(n)
=T(n).
Given k >
2,
we say a sequence T = is k-automatic if andonly
if
-is
finite,
where =(t(kln
+r))~,>1.
The setT~k~
is called the k-kernelof T. We say a set S C
I~Y B 101
is k-automatic if the sequence isk-automatic,
where
-If t :
I~Y B
101
- X for some setX,
and if there is amapping -D :
X -Y,
then we can extend $ to sequences in X with
~(T) =
(~(t(n))n>1).
Note thatis an onto
mapping. Specifically
note that thecardinality
ofT~~>
isgreater
than orequal
to thecardinality
of~(T)~k~,
and hence if T isk-automatic,
then so is~(T).
Therefore we have thefollowing,
Lemma 1. Let be a sequence
of
integers.
If
there existintegers
v, k >
2 such that( f (n)
modV)n>l
isk-automatic,
thenfor
allqlv
we havethat the sequence
( f (n)
mod is also k-automatic.The term k-automatic is used because one can
compute
t(n)
by feeding
the base k
representation
of n as aninput
to a finite state machine[5].
In[3],
see also[4],
it is shown thatgiven
prime
p and a sequencewith values in
IEP,
thenis
algebraic
overFp (X)
if andonly
if isp-automatic.
Now we
proceed
to prove the first theorem in this paper, whoseproof
isa variation of a
proof suggested
by
J. Shallit.Theorem 2. Let v > 1 be an
integer
andf
amultiplicative function.
As-sume thatfor
someinteger
h > 1 there existinfinitely
manyprimes
qlsuch that - 0
(mod v).
Furthermore assume that there existrela-tively
prime integers
b and c such thatfor
allprimes
q2 = c(mod b)
wehave
l(q2) t
0(mod v).
Then the sequence F =( f (n)
mod is not k-automaticfor any k >
2.Proof.
Choose anarbitrary
integer k >
2. Sincegcd(b, c)
=1,
by
Dirichlet’s theorem there exists someinteger
m such that bm + c >k,
and bm + c isprime.
Letting a
= bm +Now we will show that
given l, rl, r2
EN ) (0)
suchthat kl
>2bk,
0
r2kl,
and r2 - a(mod bk),
there exists n E1‘~ B
(0)
such that¡(kin
+ +r2) (mod
v),
hence This in turn meansthat the k-kernel of F is
infinite,
which means that F is not k-automatic.Choose a
prime
ql >kl
such that 0(mod v).
Observe that= 1 since ql is
prime
and ql >k~
> b. Hence there exists aninteger
no such thatFurthermore observe that
for all no. Therefore for
all j
EN B {0},
we haveand
We need to show that for some
j,
no +jq’4+lb
> 0 and the left-hand side ofEquation
(3)
isprime.
To do so we will show thatgcd(nobkl
+1,
andapply
Dirichlet’s theorem.Note that r2 - a
(mod k),
andgcd(a, k)
= 1. ThereforeAlso
nobkl
+ r2 - a(mod b).
Sincegcd(a,
b)
=1,
weget
Finally
fromEquation
(2)
we have that >We know that rl
,-E
r2, and Ithat
. Since ql is
prime,
weget
Therefore
gcd(nobkl
+ r2,klq?+lb2)
= 1. Henceby
Dirichlet’stheorem,
we can find aninteger j
>I
such thatis
prime.
By hypothesis,
+bno)
+r2)
mod v =f.
0. On the other hand we have thatby
Equation
(2)
Since
f
ismultiplicative,
we haveTherefore F is not k-automatic for any k > 2. 0 From this theorem we
immediately
get
thefollowing
corollaries.Corollary
3. Given m > 1 and v >3,
the sequence modnot k-automatic
for
any k > 2.Proof.
Given aninteger v >
3,
there areinfinitely
manyprimes
ql - 1(mod
v).
Taking h
= v - 1 weget
- __...._
Also for
primes
q2 - 1(mod v),
we haveam(q2)
mod v =2,
since v > 3. So thehypotheses
of Theorem 2 aresatisfied,
and hence modis not k-automatic. D
Corollary
3 answers thequestion
raisedby
Allouche and Thakur of whetheris
always
transcendental overFp (X)
for oddprimes
p[2].
They proved
thetranscendence of
Equation
(4)
for many cases of p and m in order togive
a
proof
of the function fieldanalogue
of Mahler-Maninconjecture.
Since(am(n)
modP)n>1
is notp-automatic
forprimes p >
3,
using
Christol’s theorem[3]
and[4]
weget
that the formal power series inEquation
(4)
isalways
transcendental over
-Corollary
4. Given v >3,
the sequence(§(n)
mod is not k-automa-ticfor
any k > 2.Proof.
Note thatHence
given
aprime
ql - 1(mod v)
we haveO(ql) =-
0(mod v).
Also,
given
aprime
q2 = -1(mod v)
we have~(q2) -
-2(mod v).
Since v > 3the
hypotheses
of Theorem 2 are satisfied. Hence is notNote that
(4)(n)
mod2),~~1
is k-automatic for allk,
since0(n)
is evenfor all n >
2,
and hence(~(n)
mod2)n>l
is constant for n > 2.We also
get
thefollowing
well-knownresult,
which is a direct consequenceof the fact that
square-free
numbers are not k-automatic[5,
p.183].
Corollary
5. Given aninteger v > 2,
the sequence mod is notk-automatic
for
any k > 2.Proof.
This is a direct consequence of Theorem 2. _ DThe
proof
of Theorem 2 reliedheavily
on the existence ofprimes
q suchthat
(mod
v).
Now we look at another set ofmultiplicative
func-tionsf ,
where for allprimes
q, and someinteger
v. Thetechnique
used in this section is different from that used in the
proof
of theprevious
theorem,
and we need togive
thefollowing
definition.Definition 1. Let T = and
#S
be the number of elements in the set S. Then thedensity
of thesymbol
a in the sequence T is defined tobe ,, , ~ , .... ,
if the limit
exists,
and is undefined otherwise.Using
this definition we will cite thefollowing
lemma due toMinsky
andPapert
[8],
see also[5,
p.184].
Lemma 6. For any k-automatic sequence
F,
if
d(F, a)
= 0 thenwhere
aj is
theposition
of the j’th
occurrenceof
a.We now
proceed
to prove thefollowing
theorem.Theorem 7. Let v > 1 be an
integer,
and letf
be amultiplicative function
such that
for
somefunction
g, where the pi are distinctprimes.
Also suppose thatg(l) =-
0(mod v)
and that there exists someinteger h >
1 such thatg(h) 0
0(mod v).
Then F =( f (n)
modnot k-autorraatic
for
anyinteger k >
2.Proof.
First,
we need thefollowing
lemma.Lemma 8. Let
f
be amultiplicative function
such thatf (q) -
0(mod v)
for
allprimes
q. ThenProof.
Note that if 0(mod v),
then n is apowerful
number(a
number where each of its
prime
factor occurs to a powergreater
than1).
Choose
a ~
0(mod v).
From[6],
see also[7,
p.178],
we have that for anye > 0
for
large enough
n.Choosing E
I
weget
thatd(F,
a) =
0 for 0. Hencethe desired result follows. l7
Now we are
ready
to prove our next Theorem. Let a =g(h)
mod v andaj be the
j’th
occurrence of a in F.By
definition ofh,
weget
a ~
0. FromLemma 8 we have
d(F, a)
= 0. So if we show thatlim supj,,,.
a
=1,
weaj
are done.
On the other
hand,
note that is asubsequence
of wherepi is the i’th
prime.
Therefore forall j
there exists i such thatHence
Therefore
But
limsupi,
=limi
=1,
this is an immediate consequence of theprime
number theoremlimi,.
Pi/i
log
i = 1.Therefore 1. It follows that F is not k-automatic
for
any k >
2. 0Corollary
9. Given aninteger
m >1,
the sequence modnot k-automatic
for
any k > 2.Proof.
Let n =2Q:d,
where d is odd. Then we haveFurthermore,
we know thatT(d)
is oddonly
when d is aperfect
square.So mod 2 = 1 if and
only
if n is aperfect
square times a power of 2.
On the other hand if an
represents
theposition
of the n’th occurrence of1,
weget
So we have
(am(n)
mod2)n>l
is not k-automaticby
Theorem 7. 0 Alsocombining
Theorems 1 and 2 weget
thefollowing
new result.Corollary
10. For allintegers
v, rrz, k > 2 the sequences(Tm(n)
modV)n2:1
is not k-automatic.
Proof.
Assume that for somev, m, k >
2 the sequence modv)n>1
is k-automatic. Therefore
by
Lemma 1 weget
given
aninteger
p~v
thesequence
(T m (n)
is also k-automatic. Therefore assume withoutloss of
generality
that v is aprime.
Consider thefollowing
cases.Case 1:
m ~
0(mod
v).
Then if we choose a and h such that va11
m-1and h - 1 - m
(mod
va+i)
weget
Therefore for any
prime q
we have mod v = 0by
(1).
On the other hand for allprimes q
we have mod v = 0. Henceby
Theorem2,
weget
that mod is not k-automatic.Case 2: m - 0
(mod v).
Letg(h) =
We have that/(TIpiQi) =
TIg(ai)
by
(1).
Also we knowg(1)
= m - 0(mod v).
Assume thatva 11m.
Then we
get
g(va) t
0(mod v).
Thereforeby
Theorem7,
modis not k-automatic. D
Corollary
10 can be used to prove the transcendence of xq(an
analogue
ofx in the field
GF(q)((X)) )
over the fieldGF(q)(X)
[1].
It is worth
mentioning
that both of our theorems relied onvlf (n),
for some n. Iff
ismultiplicative
and v t
f (n)
forany n > 1,
then its theanalysis
becomes much more difficult. Forexample
the Liouville functiondefined
by
is never divisible
by
anyprime.
It seems that thequestion
of whether ornot is k-automatic is an open
problem
worthpursuing.
Acknowledgement.
I would like to thank J. Shallit forsimplifying
theproof
of Theorem2,
andsuggesting
differentgeneralizations
of theoriginal
the referee for many valuable
suggestions,
and P.Borwein,
G.Almkvist,
and W. L. Yee for all their
help
in thepreparation
of theoriginal
draft. References[1] J.-P. ALLOUCHE, Sur la transcendance de la série formelle 03C0. Sém. Théor. Nombres
Bor-deaux 2 (1990), 103-117.
[2] J.-P. ALLOUCHE, D. S. THAKUR, Automata and transcendence of the Tate period in finite
characteristic. Proc. Amer. Math. Soc. 127 (1999), 1309-1312.
[3] G. CHRISTOL, Ensembles presque periodiques k-reconnaissables. Theoret. Comput. Sci. 9
(1979), 141-145.
[4] G. CHRISTOL, T. KAMAE, M. MENDÈS FRANCE, G. RAUZY, Suites algébriques, automates et substitutions. Bull. Soc. Math. France 108 (1980), 401-419.
[5] A. COBHAM, Uniform tag sequences. Math. Systems Theory 6 (1972), 164-192.
[6] P. ERDÖS, G. SZEKERES, Über die Anzahl der Abelschen Gruppen gegebener Ordnung und über ein verwandtes zahlentheoretisches Problem. Acta Sci. Math. (Szeged) 7 (1935), 95-102.
[7] A. P. SHIU, The distribution of powerful integers. Illinois J. Math. 26 (1982), 576-590.
[8] M. MINSKY, S. PAPERT, Unrecognizable sets of numbers. J. Assoc. Comput. Mach. 13 (1966),
281-286.
[9] R. SIVARAMAKRISHNAN, Classical theory of arithmetic functions. Monographs and Textbooks
in Pure and Applied Mathematics 126, Marcel Dekker, Inc., New York, 1989. Soroosh YAZDANI Department of Mathematics University of Illinois 273 Altgelt Hall, MC-382 1409 W. Green Street Urbana, IL 61801 USA