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

1Introduction { 1 , 2 ,...,n } RelativelyPrimeSetsandaPhiFunctionforSubsetsof

N/A
N/A
Protected

Academic year: 2022

シェア "1Introduction { 1 , 2 ,...,n } RelativelyPrimeSetsandaPhiFunctionforSubsetsof"

Copied!
5
0
0

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

全文

(1)

23 11

Article 10.7.6

Journal of Integer Sequences, Vol. 13 (2010),

2 3 6 1

47

Relatively Prime Sets and a Phi Function for Subsets of { 1 , 2 , . . . , n}

Min Tang

1

Department of Mathematics Anhui Normal University

Wuhu 241000 P. R. China [email protected]

Abstract

A nonempty subset A of {1,2, . . . , n} is said to be relatively prime if gcd(A) = 1.

Let f(n) and fk(n) denote respectively the number of relatively prime subsets and the number of relatively prime subsets of cardinalityk of {1,2, . . . , n}. Let Φ(n) and Φk(n) denote respectively the number of nonempty subsets and the number of subsets of cardinalitykof{1,2, . . . , n}such that gcd(A) is relatively prime ton. In this paper, we obtain some properties of these functions.

1 Introduction

A nonempty subsetAof{1,2, . . . , n}is said to berelatively prime if gcd(A) = 1. Nathanson [5] defined f(n) to be the number of relatively prime subsets of {1,2, . . . , n}, and fork ≥1, he definedfk(n) to be the number of relatively prime subsets of cardinalityk of{1,2, . . . , n}.

Nathanson [5] defined Φ(n) and Φk(n), respectively, to be the number of nonempty subsets and the number of subsets of cardinality k of {1,2, . . . , n} such that gcd(A) is relatively prime to n. Sloane’s sequence A085945 enumerates f(n) and A027375 enumerates Φ(n).

Let⌊x⌋ denote the greatest integer less than or equal to x,ϕ(n) the Euler phi function and µ(n) the M¨obius function. Nathanson [5] obtained the following explicit formulas for these functions.

1Supported by the National Natural Science Foundation of China, Grant No. 10901002.

(2)

Theorem 1. The following hold:

(a) For all positive integers n, f(n) =

n

X

d=1

µ(d) 2⌊n/d⌋−1

. (1)

(b) For all positive integers n≥2,

Φ(n) =X

d|n

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

(c) For all integers n and k,

fk(n) =

n

X

d=1

µ(d)

⌊n/d⌋

k

. (3)

(d) For all integers n and k,

Φk(n) = X

d|n

µ(d) n/d

k

. (4)

Generalizations may be found in [2, 3, 4]. In 2009, Ayad and Kihel [1] studied some properties of the functionsf(n) and Φ(n). They showed thatf(n) is never a square ifn≥2, and for any primel 6= 3,f(n) is not periodic modulo l. Moreover, they proved the following equality.

Theorem 2. For any integer n≥1, we have f(n+ 1)−f(n) = 1

2Φ(n+ 1). (5)

In this paper, we give a new simple proof of the above result and obtain some properties of these functions.

Theorem 3. For all integers n and k, we have

Φk(n+ 1) =fk(n+ 1)−fk(n) +fk+1(n+ 1)−fk+1(n). (6) Remark 4. Note that for any positive integers n, f1(n+ 1) =f1(n) = 1. By Theorem 3, we havef2(n+ 1)−f2(n) = Φ1(n+ 1) =ϕ(n+ 1). Thus for n≥2, we havef2(n+ 1)−f2(n)≡0 (mod 2), and f2(2) = 1, thus f2(n)≡1 (mod 2) for all n ≥2.

Remark 5. By Theorem 3, for all n≥2 we have f2(n)−f2(n−1) =ϕ(n). Thus X

2≤i≤n

ϕ(i) = X

2≤i≤n

f2(i)−f2(i−1)

=f2(n), hence

f (n) = 3n2

+O(nlogn).

(3)

Remark 6. Let p, q be primes. Note that Φ(p) = 2p −2 and Φ(pq) = 2pq −2p −2q + 2.

Thus Φ(p) ≡ Φ(pq) ≡ 2 (mod 4). And Φ(n) ≡ 0 (mod 3) for all n ≥ 3 (see [1]); thus Φ(p)≡Φ(pq)≡6 (mod 12). Hence Φ(p) and Φ(pq) are neither a square nor a cube.

To prove Theorem 2 and 3, we need the following lemma.

Lemma 7. For all integers n and k, jn+ 1

k

k−jn k

k =

1, if k |(n+ 1);

0, otherwise.

2 Proof of Theorem 2.

By (1) we have

f(n+ 1)−f(n) =

n+1

X

d=1

µ(d) 2n+1d −1

n

X

d=1

µ(d) 2⌊n/d⌋−1

=

n

X

d=1

µ(d) 2n+1d −2⌊n/d⌋

+µ(n+ 1).

By (2) and Lemma7,

f(n+ 1)−f(n) =

n

X

d=1 d|n+1

µ(d)2nd+µ(n+ 1)

= X

d|n+1

µ(d)2⌊n/d⌋

= 1 2

X

d|n+1

µ(d)2n+1d = 1

2Φ(n+ 1).

This completes the proof of Theorem2.

3 Proof of Theorem 3.

Case 1: k = 1. f1(n+ 1) =f1(n) = 1. By (3) we have

f2(n+ 1)−f2(n) =

n+1

X

d=1

µ(d)

n+1d ⌋ 2

n

X

d=1

µ(d)

⌊n/d⌋

2

=

n

X

d=1

µ(d)

n+1d ⌋ 2

⌊n/d⌋

2 !

.

(4)

By (2) and Lemma7, we have

f2(n+ 1)−f2(n) =

n

X

d=1 d|n+1

µ(d) n+1

d −1 1

=

n

X

d=1 d|n+1

µ(d)n+ 1 d −1

= X

d|n+1

µ(d)n+ 1 d −1

= X

d|n+1

µ(d)n+ 1

d = Φ1(n+ 1).

Case 2: k≥2. By (3) and Lemma7, we have

fk(n+ 1)−fk(n) =

n+1

X

d=1

µ(d)

n+1d ⌋ k

n

X

d=1

µ(d)

⌊n/d⌋

k

=

n

X

d=1

µ(d)

n+1d ⌋ k

⌊n/d⌋

k !

= X

d|n+1

µ(d) ⌊nd

k−1

.

Thus by (4) and Lemma 7, we have

fk(n+ 1)−fk(n) +fk+1(n+ 1)−fk+1(n) = X

d|n+1

µ(d)

nd⌋ k−1

+

nd⌋ k

!

= X

d|n+1

µ(d)

nd⌋+ 1 k

= X

d|n+1

µ(d) n+1

d

k

= Φk(n+ 1).

This completes the proof of Theorem3.

4 Acknowledgements

We would like to thank the referees for their helpful comments.

References

[1] M. Ayad and O. Kihel, The number of relatively prime subsets of{1,2, . . . , n},Integers

(5)

[2] M. Ayad and O. Kihel, On the number of subsets relatively prime to an integer, J.

Integer Sequences 11 (2008), Paper 08.5.5.

[3] M. Ayad and O. Kihel, On relatively prime sets, Integers 9 (2009), A28. Available electronically at http://integers-ejcnt.org/vol9.html.

[4] M. El Bachraoui, On the number of subsets of [1, m] relatively prime to n and asymptotic estimates, Integers 8 (2008), A41. Available electronically at http://integers-ejcnt.org/vol8.html.

[5] M. B. Nathanson, Affine invariants, relatively prime sets, and a phi function for subsets of {1,2, . . . , n}, Integers 7 (2007), A01. Available electronically at http://integers-ejcnt.org/vol7.html.

2000 Mathematics Subject Classification: Primary 11A25; Secondary 11B75.

Keywords: relatively prime subset, Euler phi function.

(Concerned with sequences A027375 and A085945.)

Received March 27 2010; revised version received July 9 2010. Published in Journal of Integer Sequences, July 16 2010.

Return to Journal of Integer Sequences home page.

参照

関連したドキュメント

An iterative method for solving single variable nonlinear equation fx 0, with n 1, n ≥ 1, evaluations per iteration reaches to the maximum order of convergence 2 n and the

We compute local isometric invariants for point-affine distributions of constant type with metric structures for systems with 2 states and 1 control and systems with 3 states and

Veeramani, “On existence of equilibrium pair for constrained generalized games,” Fixed Point Theory and Applications, vol.. Veeramani, “On best proximity pair theorems and

Any counterexample to Giuga’s conjecture will either have 3 as a prime factor or not, corresponding to the normal sets {} and { 3 } sitting at depth 2 of the tree in Figure 1.. In

For a positive integer n, we write P (n) for the largest prime factor of n, ω(n) for the number of distinct prime divisors of n, and τ(n) for the total number of positive

The Pell numbers (A000129) count the tilings of a (1 × n)-board with dominoes and two colors of squares, and Benjamin, Plott, and Sellers [1] used this interpretation to prove

Figure 2: Generating function of the (k, 2m)–Fibonacci numbers As it increases r, this curve has a minimum and a maximum relative who tend to (−1 + , 0) and (−1 − , 0),

We explore sufficient con- ditions on infinite sets of positive integers such that there are either no sum-dominant subsets, at most finitely many sum-dominant subsets, or