• 検索結果がありません。

(1)#A14 INTEGERS THE NUMBER OF RELATIVELY PRIME SUBSETS OF {1,2

N/A
N/A
Protected

Academic year: 2022

シェア "(1)#A14 INTEGERS THE NUMBER OF RELATIVELY PRIME SUBSETS OF {1,2"

Copied!
4
0
0

読み込み中.... (全文を見る)

全文

(1)

#A14 INTEGERS 9 (2009), 163-166

THE NUMBER OF RELATIVELY PRIME SUBSETS OF {1,2, . . . , N} Mohamed Ayad

Lab. de Math. Pures et Appliqu´ees, Universit´e du Littoral, Calais, F6228 France [email protected]

Omar Kihel1

Department of Mathematics, Brock University, St. Catharines, Ontario, CANADA L2S 3A1[email protected]

Received: 7/11/08, Revised: 2/27/09, Accepted: 3/11/09

Abstract

A nonempty subset A ⊆{1,2. . . , n} is relatively prime if gcd(A) = 1. Let f(n) denote the number of relatively prime subsets of{1,2. . . , n}. The sequence given by the values off(n) is sequence A085945 in Sloane’s On-Line Encyclopedia of Integer Sequences. In this article we show thatf(n) is never a square ifn≥2. Moreover, we show that reducing the terms of this sequence modulo any primel#= 3 leads to a sequence which is not periodic modulol.

1. Introduction

Nathanson defined a nonempty subset A of {1,2. . . , n} to be relatively prime if gcd(A) = 1. Letf(n) andΦ(n) denote respectively the number of relatively prime subsets of{1,2. . . , n}and the number of nonempty subsetsAof {1,2. . . , n}such that gcd(A) is relatively prime ton. Exact formulas and asymptotic estimates are given by M. B. Nathanson in [5]. Generalizations may be found in [1], [2], [3], [4]

and [6]. Let [x] denote the greatest integer less than or equal to x and µ(n) the Mobius function. Nathanson [5] proved the following theorem.

Theorem 1.The following hold:

(i) For all positive integersn,

f(n) =

!n d=1

µ(d)"

2[n/d]1#

. (1)

(ii) For all integersn≥2,

Φ(n) =!

d|n

µ(d)2n/d. (2)

It is worth mentioning that from formula (2), we see thatΦ(n) is equal to the number of primitive elements of the fieldF2n overF2. In [1], a new functionΨ(n, p)

1Research partially supported by NSERC.

(2)

INTEGERS: 9 (2009) 164 generalizingΦis defined such thatΨ(n, p) represents the number of primitive ele- ments ofFpn overFp, wherepis any prime number. In [7, Example 1, p. 62], the functionΦ(n) is defined as the number of primitive 01 strings of lengthn.

The first result of this paper is the following:

Theorem 2.f(n)is never a square if n≥2.

QuestionIs there any perfect power other thanf(1) = 1?

Indeed we were unable to prove that there is no term of the sequence which is a cube other than the first term.

Our second result concerns the study of the sequencef(n) if one reduces its terms modulo a fixed prime. Letl be a prime number. We say that the sequencef(n) is periodic modulo l, starting from some integerN =N(l), if there exists an integer T 1 such thatf(n+T)≡f(n) (modl) for any n≥N. Lemma 2 below shows thatf(n) is periodic modulo 3 starting from N= 2.

Theorem 3.Letl be a prime such that l#= 3. Thenf(n)is not periodic modulol.

2. Proof of Theorem 2

For the proof of Theorem 2 we need two lemmas.

Lemma 1.For any integern≥1, we have f(n+ 1)−f(n) =1

2Φ(n+ 1). (3)

Proof. LetE(n+1) be the set consisting of the nonempty subsetsAof{1,2, . . . , n+ 1}such that gcd(A) is coprime ton+ 1. Let E0(n+ 1) andE1(n+ 1) be two sets that partitionE(n+ 1) such that an elementAofE(n+ 1) belongs toE1(n+ 1) if it containsn+ 1. It is easy to see thatE0(n+ 1) andE1(n+ 1) are of the same size.

Moreover, by the very definition off(n),f(n+ 1)−f(n) represents the cardinality ofE1(n+ 1) and the result follows.

Lemma 2.For anyn≥3,Φ(n)0 (mod 3).

Proof. Ifnis odd then for anyd|n, 2n/d≡ −1 (mod 3); hence (2) yields Φ(n)≡ −!

d|n

µ(d).

It is well-known that $

d|nµ(d) = 0 ifn≥2; hence the result follows in the casen is odd. Suppose now that the integernis even and write it in the form n= 2kn!,

(3)

INTEGERS: 9 (2009) 165 where k≥1 andn! is odd. We suppose thatn! 3. Equation (2) may be written in the form

Φ(n) =!

d|n!

µ(d)22kn!/d+!

d|n!

µ(2d)22kn!/2d+· · ·+ !

d|n!

µ(2kd)22kn!/2kd. (4)

It is clear that all the sums in (4) but the first two are 0. For any d|n! we have 22kn!/d 1 (mod 3); hence$

d|n!µ(d)22kn!/d 0 (mod 3). We have 22k−1n!/d 1 (mod 3) if k 2 and 22k−1n!/d ≡ −1 (mod 3) if k = 1. We deduce that

$

d|n!µ(2d)22kn!/2d ±$

d|n!µ(2d) ≡ ∓$

d|n!µ(d) 0 (mod 3) and the result follows in the casenis even andn!3.

The casen! = 1 may be proved similarly.

Second Proof. Recall from [5] the following formula:

!

d|n

Φ(d) = 2n1.

Suppose that the lemma is true for any 3 m < n. Ifn is even, then 2n1 Φ(1) +Φ(2) +Φ(n) (mod 3) and the result follows since Φ(1) = 1, Φ(2) = 2 and 2n10 (mod 3). A similar argument applies whennis odd.

Proof of Theorem 2 Lemmas 1 and 2 show thatf(n+ 1)≡f(n) (mod 3). Since f(2) = 2, we conclude by induction that for any n≥2,f(n)2 (mod 3); hence f(n) is never a square ifn≥2.

3. Proof of Theorem 3

Suppose first thatl≥5 and that the sequencef(n) is periodic starting from some integerN and denote byT one of its periods. It is clear, by (3), that the sequence Φ(n) is also periodic andT is also a period for this sequence. Select two large prime numbers pand q such thatp≡1 (mod (l1)T) andq ≡ −1 (mod (l1)T). It is easy to see that Φ(p) = 2p2, Φ(q) = 2q2 andΦ(pq) = 2pq2p2q+ 2, by (2). Hence,Φ(p)0 (modl),Φ(q)2−12 (modl) andΦ(pq)0 (modl).

Butpq ≡q (modT); henceΦ(pq)2−12 (modl). It follows that 2−120 (mod l), thus l = 3, which contradicts our hypothesis and the proof is complete whenl≥5.

Suppose now thatl= 2 and thatf(n) is periodic modulo 2 with periodTstarting from the integer N. Using (1), we see that f(n)$n

d=1µ(d) (mod 2) andf(n+ T)$n+T

d=1 µ(d) (mod 2). We deduce that, for n≥N, $n

d=1µ(d)≡$n+T d=1 µ(d) (mod 2). Then $n+T

d=n+1µ(d) 0 (mod 2), whereupon µ(n+ 1) µ(n+T + 1) (mod 2); i.e. µ(n) µ(n+mT) (mod 2) for every n N and m any positive integer. Choose a large square-free integer n0 and a prime p such that p ! T.

(4)

INTEGERS: 9 (2009) 166 It is clear that there exists a positive integer msuch thatn0+mT 0 (modp2);

hencen0+mT is not square-free. Then,µ(n0)1 (mod 2) and µ(n0+mT)0 (mod 2), which is a contradiction and the proof is complete.

Acknowlegement. We thank the referee for suggesting some corrections and for pointing us to reference [7].

References

[1] M. Ayad, O. Kihel,On relatively prime sets, preprint 2008.

[2] M. Ayad, O. Kihel, On the Number of Subsets Relatively Prime to an Integer, J. Integer Sequences11(2008), 08.5.5.

[3] M. El Bachraoui,The number of relatively prime subsets and Phi functions for{m,m+1. . . ,n}, Integers7(2007), A43.

[4] M. El Bachraoui.On the number of Subsets of[1, m]Relatively Prime tonand Asymptotic Estimates, Integers8(2008), A41.

[5] M. B. Nathanson.Affine invariants, relatively prime sets, and a Phi function for subsets of {1,2,. . . ,n}, Integers7(2007), A01.

[6] M. B. Nathanson, B. Orosz.Asymptotic estimates for phi functions for subsets of{M+1, M+ 2, . . . , N}, Integers7(2007), A54.

[7] H. S. Wilf.generatingfunctionology.Academic Press, 1994.

参照

関連したドキュメント

[3] Chen Guowang and L¨ u Shengguan, Initial boundary value problem for three dimensional Ginzburg-Landau model equation in population problems, (Chi- nese) Acta Mathematicae

In this paper, we consider the initial-boundary value problem of a nonlinear parabolic equation with double degeneracy, and establish the existence and uniqueness theorems

The measure σ p,n of Theorem 1 assigns to measurable subsets of S p,n (1) their Minkowski surface area, an intrinsic area in that it depends on geodesic distances on the surface..

In this paper we obtain existence results for the positive solution of a singular elliptic boundary value problem.. Our study is motivated by the works of Shu [17], Arcoya,

The repeated homogeneous balance method is used to construct new exact traveling wave solutions of the (2+1) dimensional Zakharov- Kuznetsov (ZK) equation, in which the

The main purpose of this note is to show that both the Frobenius number g(A) and n(A) follow in the case of geometric sequences from an old reduction for- mula due to Johnson [1]

In the paper we shall concentrate on the the uniqueness property of the solution of a specific type of differential equation as ob- tained from the conclusion of Br¨ uck Conjecture

On the other hand, suppose that X is a 1–dimensional, stable random variable and let Y (1) be the infinitely divisible vector whose L´evy measure is the L´evy measure of X truncated