Levely Multiplicative Functions on N

Abstract

In this paper, as a result of dividing the set of natural numbers into disjoint levels, we have studied levely multiplicative functions that are defined from N to N and which keep numbers at the same level when restricted on levels, i.e. f | L i : L i → L i . We have defined the level multiplicative function and explained how to generate it using the restriction function f | L 1 . Furthermore, if f | L 1 is bijective, then all f | L i and f are bijective functions. Moreover, the levely multiplicative function preserves the unique factorization for any number n∈N and maintains divisibility properties.

Share and Cite:

Khalifa, S. and Alamari, M. (2025) Levely Multiplicative Functions on N. Advances in Pure Mathematics, 15, 643-650. doi: 10.4236/apm.2025.159033.

1. Introduction

Let N be the set of natural numbers. A number a divides a number b (written a|b ), if there exists a number c such that b=ca (in this case a is said to be a factor or divisor of b ). The greatest divisor of a and b (written ( a,b )=d ) is a number d such that d|a,d|b , and for any number c such that c|a,c|b , we have c≤d . A number a is said to be a prime number if and only if a>1 and is divisible by 1 and itself. We denote the set of prime numbers by P . Two numbers a and b are said to be relatively prime if ( a,b )=1 [1], [2].

Lemma 1.1 [3]: Every n∈N,n>1 , can be written as a product of prime numbers.

Theorem 1.1 [3]: The Unique Factorization Theorem. Any natural number grater than one can be written as a product of primes in one and only one way.

i.e. for any n∈N,n>1 , can be written exactly in one way in the form n= p 1 e 1 p 2 e 2 ⋯ p k e k where e i ≥0,i=1,2,⋯,k , each p i is prime, and p i ≠ p j . We call this representation the prime-power decomposition of n .

For any a∈N , the set of all multiple numbers of a is a↑ ={ na:n∈N } . For any A⊆N the set of all multiple of elements of A is A↑ ={ n∈N:∃a∈A,a|n } . We say that A is an upward closed subset of N if A=A↑ . The set of upward closed subsets of N is denoted by μ={ A⊆N:A=A↑ } [4].

Lemma 1.2 [4]: For any A⊆N , A↑ = ∪ a∈A a↑ .

Let P be the set of prime numbers and let L 0 ={ 1 } , L 1 ={ a:a∈P } , L 2 ={ a 1 a 2 : a 1 , a 2 ∈ L 1 } , ⋯ , L n ={ a 1 a 2 ⋯ a n : a 1 , a 2 ,⋯, a n ∈ L 1 } , ⋯ . Then we say that L i , where i≥0 are the levels of N . A number a∈N is in the level L n if a= p 1 e 1 p 2 e 2 ⋯ p k e k , where p i ∈P , 0≤ e i ≤n , i=1,2,⋯,k , and e 1 + e 2 +⋯+ e k =n [5].

Lemma 1.3 [5]: (a) N= ∪ i=0 ∞ L i

(b) L i ∩ L j =ϕ where i≠j ( ∩ i=0 ∞ L i =ϕ )

If f:N→N is a function A⊆N , then the restriction function of f on A is a function f | A :A→N such that f( a )= f | A ( a ) for any a∈A . A function f:N→N is injective if a 1 = a 2 whenever f( a 1 )=f( a 2 ) . It is surjective if for any b∈N , there exists a∈N such that f( a )=b . A function that is both injective and surjective is called bijective. If f:N→N is bijective, then f −1 :N→N is also a bijective function, and it is called the inverse function of f . A function f:N→N is called increasing if and only if f( a )≤f( b ) whenever a≤b [6] [7].

Lemma 1.4 If f:N→N is a function. Then

(a) f | L i ∩ f | L j =ϕ , ∀ i≠j

(b) f= ∪ i=0 ∞ f | L i

Proof: (a) By (Lemma 1.3 (b)), L i ∩ L j =ϕ for i≠j .

Therefore, f | L i ( L i )∩ f | L j ( L j )=ϕ , which implies f | L i ∩ f | L j =ϕ .

(b) Let ( a,f( a ) )∈f . Since N= ∪ i=0 ∞ L i , we have a∈ L i ,f( a )= f | L i ( a ) for some i . Therefore ( a, f | L i ( a ) )∈ f | L i , which implies f⊆ ∪ i=0 ∞ f | L i .

On the other hand, since f | L i ⊂f ∀ i=0,1,2,⋯ , we have ∪ i=0 ∞ f | L i ⊆f . Thus, f= ∪ i=0 ∞ f | L i . ◼

2. Levely Multiplicative Functions on N

As a consequence of dividing N into infinitely many disjoint levels, we can divide any function f:N→N into infinitely many disjoint functions, which can be obtained by restricting f to L i for all i=0,1,2,⋯ . If each function f | L i sends numbers to the same level, and the image of any number in level L i under the effect of f | L i is a product of images of its prime decomposition under the function f | L 1 , then f | L 1 generates the function f , and it is called a levely multiplicative function.

Definition 2.1: A function f:N→N , is said to be levely function if and only if f( a )∈ L i for all a∈ L i ,i=0,1,2,⋯ .

i.e. f | L i ( L i )⊆ L i , f | L 0 ( 1 )=1

Example 2.1: If f:N→N is defined by f( n )= 2 i ,n∈ L i ,i=2j , and f( n )= 3 i ,n∈ L i ,i=2j+1,j=0,1,2,⋯ , then f is a levely function.

Definition 2.2: A levely function f:N→N is said to be a multiplicative function or a function that is generated by f | L 1 ={ ( a, f | L 1 ( a ) ):a∈ L 1 } , if and only if f | L i ( a )= f | L i ( a 1 a 2 ⋯ a i )= f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i ) for any f | L i ,i=2,3,⋯ , and for any a= a 1 a 2 ⋯ a i ∈ L i , where a 1 , a 2 ,⋯, a i ∈ L 1 .

i.e. f | L i ={ ( a 1 a 2 ⋯ a i , f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i ) ): a 1 , a 2 ,⋯, a i ∈ L 1 ,           f | L 1 ( a 1 ), f | L 1 ( a 2 ),⋯, f | L 1 ( a i )∈ f | L 1 ( L 1 ) } ,

f= ∪ i=0 ∞ f | L i

When f:N→N is a levely multiplicative function, we will write f | L i : L i → L i for all i=0,1,2,⋯ .

And

f | L i ( L i )={ f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i ): f | L 1 ( a 1 ), f | L 1 ( a 2 ),⋯, f | L 1 ( a i )∈ f | L 1 ( L 1 ) } . for all i≥1 .

Example 2.2: Let f | L 1 : L 1 → L 1 be defined by f | L 1 ( n )=2 ∀ n∈ L 1 .

Then, f | L 1 generates all the functions f | L i , where i≥2 as follows:

f | L i ( n )= f | L i ( p 1 p 2 ⋯ p i ) = f | L 1 ( p 1 )⋅ f | L 1 ( p 2 )⋯ f | L 1 ( p i ) =2⋅2⋯2= 2 i

And the levely multiplicative function f:N→N is defined by f( n )= 2 i where n∈ L i .

Theorem 2.1: Every function f | L 1 : L 1 → L 1 generates a unique levely multiplicative function f:N→N , f= ∪ i=0 ∞ f | L i .

Proof: By (Definition 2.1) and (Lemma 1.4 (b)) f= ∪ i=0 ∞ f | L i is generated by f | L 1 . To prove that f is unique, let f 1 and f 2 be levely multiplicative functions generated by f | L 1 . Then, for any a= a 1 a 2 ⋯ a i ∈ L i ,i≥1 , we have

f 1 ( a )= f | L i ( a ) = f | L i ( a 1 a 2 ⋯ a i ) = f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i )

and

f 2 ( a )= f | L i ( a ) = f | L i ( a 1 a 2 ⋯ a i ) = f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i )

Therefore, f 1 = ∪ i=0 ∞ f | L i = f 2 . Hence, f is unique. ◼

Lemma 2.1: If f:N→N is a levely multiplicative function, then

(a) f | L i ( a ) f | L j ( b )= f | L i+j ( ab ) ∀ a∈ L i ,b∈ L j

(b) f( ab )=f( a )f( b ) ∀ a,b∈N

Proof: (a) Let a= a 1 a 2 ⋯ a i ∈ L i ,b= b 1 b 2 ⋯ b j ∈ L j . Then,

f | L i ( a ) f | L j ( b )= f | L i ( a 1 a 2 ⋯ a i ) f | L j ( b 1 b 2 ⋯ b j ) = f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L i ( a i ) f | L 1 ( b 1 ) f | L 1 ( b 2 )⋯ f | L 1 ( b j ) = f | L i+j ( a 1 a 2 ⋯ a i b 1 b 2 ⋯ b j ) = f | L i+j ( ab )

(b) Let a,b∈N , then there are some i,j such that a= a 1 a 2 ⋯ a i ∈ L i , b= b 1 b 2 ⋯ b j ∈ L j , so ab= a 1 a 2 ⋯ a i b 1 b 2 ⋯ b j ∈ L i+j . By (a) we have

f( ab )= f | L i+j ( ab ) = f | L i ( a ) f | L j ( b ) =f( a )f( b ) ◼

Corollary 2.1: If f:N→N is a levely multiplicative function, then:

(a) f | L 1 ( a 1 ) f | L 2 ( a 2 )⋯ f | L n ( a n )= f | L 1+2+⋯+n ( a 1 a 2 ⋯ a n )

(b) f | L i ( a i ) f | L i+1 ( a i+1 )⋯ f | L j ( a j )= f | L i+( i+1 )+⋯+j ( a i a i+1 ⋯ a j ) , where i<j , ∀ a i ∈ L i , a i+1 ∈ L i+1 ,⋯, a j ∈ L j

(c) f( a 1 a 2 ⋯ a n )=f( a 1 )f( a 2 )⋯f( a n ) ∀ a 1 , a 2 ,⋯, a n ∈N

(d) f( a i )= ( f( a ) ) i ∈f( L i ) ∀ a i ∈ L i

Proof: (a) We will use mathematical induction.

The result is obvious when n=1 .

By (Lemma 2.1 (a)) when n=2 , we have f | L 1 ( a 1 ) f | L 2 ( a 2 )= f | L 1+2 ( a 1 a 2 ) .

Suppose that it is true for n=k−1 , f | L 1 ( a 1 ) f | L 2 ( a 2 )⋯ f | L k−1 ( a k−1 )= f | L 1+2+⋯+( k−1 ) ( a 1 a 2 ⋯ a k−1 )

We will show that this implies it is true for n=k

f | L 1 ( a 1 ) f | L 2 ( a 2 )⋯ f | L k ( a k )=( f | L 1 ( a 1 ) f | L 2 ( a 2 )⋯ f | L k−1 ( a k 1 ) )( f | L k ( a k ) ) = f | L 1+2+⋯+( k−1 ) ( a 1 a 2 ⋯ a k−1 ) f | L k ( a k ) = f | L 1+2+⋯+k ( a 1 a 2 ⋯ a k )

(b) Similar to (a) by induction. However, we will start with the number i instead of 1.

If j=i it is obvious.

By (Lemma 2.1 (a)), in case of j=i+1 , we have f | L i ( a i ) f | L i+1 ( a i+1 )= f | L i+( i+1 ) ( a i a i+1 ) .

If we suppose that f | L i ( a i ) f | L i+1 ( a i+1 )⋯ f | L j−1 ( a j−1 )= f | L i+( i+1 )+⋯+( j−1 ) ( a i a i+1 ⋯ a j−1 ) .

then

f | L i ( a i ) f | L i+1 ( a i+1 )⋯ f | L j ( a j )=( f | L i ( a i ) f | L i+1 ( a i+1 )⋯ f | L j−1 ( a j−1 ) )( f | L j ( a j ) ) = f | L i+( i+1 )+⋯+( j−1 ) ( a i a i+1 ⋯ a j−1 ) f | L j ( a j ) = f | L i+( i+1 )+⋯+( j−1 )+j ( a i a i+1 ⋯ a j−1 a j )

(c) Similar to (a)

(d) Let a i ∈ L i . Then, by (b) we have

f( a i )=f( a⋯a ) =f( a )⋯f( a ) = ( f( a ) ) i ∈f( L i ) ◼

Theorem 2.2: If f:N→N is a levely multiplicative function, then for any a= a 1 e 1 a 2 e 2 ⋯ a n e n ∈ L n , where 0≤ e j ≤n , j=1,2,⋯,n , e 1 + e 2 +⋯+ e n =n , and a 1 , a 2 ,⋯, a n ∈P in the unique decomposition of prime powers, we have f( a )= ( f( a 1 ) ) e 1 ( f( a 2 ) ) e 2 ⋯ ( f( a n ) ) e n ∈f( L n ) in the unique decomposition of the prime powers.

Proof: Let, a= a 1 e 1 a 2 e 2 ⋯ a n e n ∈ L n , where 0≤ e j ≤n , j=1,2,⋯,n , e 1 + e 2 +⋯+ e n =n , and a 1 , a 2 ,⋯, a n ∈P . Then, by (Corollary 2.1 (b), (c)), we have

f( a )=f( a 1 e 1 a 2 e 2 ⋯ a n e n ) =f( a 1 e 1 )f( a 2 e 2 )⋯f( a n e n ) = ( f( a 1 ) ) e 1 ( f( a 2 ) ) e 2 ⋯ ( f( a n ) ) e n ∈f( L n )

Now, by (Theorem 1.1), since a= a 1 e 1 a 2 e 2 ⋯ a n e n is unique,

f( a )= ( f( a 1 ) ) e 1 ( f( a 2 ) ) e 2 ⋯ ( f( a n ) ) e n

is also unique. ◼

Furthermore, one of the characteristics that distinguishes the levely multiplicative function f:N→N , which is generated by f | L 1 , is that if f | L 1 is a bijective function, then all f | L i ,i≥2 , and f are bijective.

Theorem 2.3: If f:N→N is a levely multiplicative function and f | L 1 : L 1 → L 1 is injective, then:

(a) f | L i : L 1 → L 1 is bijective, ∀ i=1,2,3,⋯

(b) f is bijective.

Proof: (a) First, we will show that f | L i : L i → L i is injective, ∀ i=2,3,⋯

Let a,b∈ L i ,a≠b , where a= a 1 a 2 ⋯ a i ,b= b 1 b 2 ⋯ b i , a 1 , a 2 ,⋯, a i , b 1 , b 2 ,⋯, b i ∈ L 1 . Since, a≠b , there exists a n ∈ L 1 ,1≤n≤i , and b m ∈ L i ,1≤m≤i , such that a n ≠ b m . Since f | L 1 is injective, f | L 1 ( a n )≠ f | L 1 ( b m ) . By (Theorem 2.2), we have

f | L i ( a )= f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a n )⋯ f | L 1 ( a i ) ≠ f | L 1 ( b 1 ) f | L 1 ( b 2 )⋯ f | L 1 ( b m )⋯ f | L 1 ( b i ) = f | L i ( b )

Hence, f | L i is injective for all i=2,3,⋯

To prove that f | L i is surjective for all i=2,3,⋯ , let b= b 1 b 2 ⋯ b i ∈ L i , so b 1 , b 2 ,⋯, b i ∈ L 1 . Since f | L 1 is surjective, there exist a 1 , a 2 ,⋯, a i ∈ L 1 such that f | L 1 ( a 1 )= b 1 , f | L 1 ( a 2 )= b 2 ,⋯, f | L 1 ( a i )= b i .

Therefore, f | L 1 ( a 1 ) f | L 1 ( a 2 )⋯ f | L 1 ( a i )= b 1 b 2 ⋯ b i ,

and f | L i ( a 1 a 2 ⋯ a i )=b , where a 1 a 2 ⋯ a i ∈ L i .

So f | L i is surjective. Hence, f | L i is bijective for all i=1,2,⋯

(b) First, we show that f is injective.

i) If a,b∈N,a≠b , and a∈ L i ,b∈ L j ,i≠j , then f( a )= f | L i ( a )∈ f | L i ( L i ) , f( b )= f | L j ( b )∈ f | L j ( L j ) , and since f | L i ( L i )∩ f | L j ( L j )=ϕ , we have f( a )≠f( b )

ii) If a,b∈N,a≠b , and a,b∈ L i , then by (a), we have

f( a )= f | L i ( a )≠ f | L i ( b )=f( b ).

Hence, f is injective.

Now, by (a) f | L i ( L i )= L i ,∀i=0,1,2,⋯ . Therefore

f( N )=f( ∪ i=0 ∞ L i ) = ∪ i=0 ∞ f( L i ) = ∪ i=0 ∞ f | L i ( L i ) = ∪ i=0 ∞ L i =N

Hence, f is surjective and therefore bijective. ◼◼

Corollary 2.2 If f:N→N is a levely multiplicative and a bijective function, then f −1 :N→N is levely multiplicative and bijective.

3. Levely Multiplicative Functions with Divisibility

Let f:N→N be a levely multiplicative function. If a|b , then f( a )|f( b ) is necessary, but f( a )|f( b ) is not sufficient for a|b . For example, in (Example 2.2) 2=f( 2 )|f( 5 )=2 , but 2 | 5 .

For f( a )|f( b ) to be necessary and sufficient for a|b , f must be bijective.

Theorem 3.1 Let f:N→N be a levely multiplicative function.

(a) If a|b , then f( a )|f( b ) .

(b) If f is bijective, then a|b if and only if f( a )|f( b ) .

Proof: (a) Let a,b∈N,a|b . Then there exists c∈N such that b=ca . Therefore f( b )=f( ca )=f( c )f( a ) . Thus, f( a )|f( b ) .

(b) ( ⇒ ) By (a).

( ⇐ ) Let a,b∈N , f( a )|f( b ) . Then there exists c∈N such that f( b )=cf( a ) . Since f is surjective, there exist d∈N such that c=f( d ) . Therefore, f( b )=f( d )f( a )=f( da ) . Since f is injective, b=da . Hence, a|b . ◼

As a result of Theorem 3.1, the next theorem and corollary show that a bijective, levely multiplicative, and increasing function preserves the greatest common divisor for any two numbers in N and the relative prime numbers.

Theorem 3.2 Let f:N→N be a levely multiplicative, bijective, and increasing function, then ( a,b )=d if and only if ( f( a ),f( b ) )=f( d ) .

Proof: ( ⇒ ) Let ( a,b )=d .Then d|a and d|b . By (Theorem 3.1), we have f( d )|f( a ) and f( d )|f( b ) . If f( c )|f( a ) and f( c )|f( b ) , and we suppose that f( c )≥f( d ) , then by (Theorem 3.1), we have c|a , and c|b ' Therefore c≤d . But f is an increasing function, so we have a contradiction. Hence f( d )≤f( c ) , and ( f( a ),f( b ) )=f( d ) .

( ⇐ ) Let ( f( a ),f( b ) )=f( d ) . Then f( d )|f( a ) and f( d )|f( b ) . By (Theorem 3.1) we have d|a,d|b . If we suppose c|a and c|b , and we suppose c≥d , then by (Theorem 3.1), we have f( c )|f( a ) and f( c )|f( b ) . Therefore f( c )≤f( d ) . But f is an increasing function, so we have a contradiction. Hence, d≤c . Thus, ( a,b )=d . ◼

Corollary 3.1: Let f:N→N be a levely multiplicative, bijective and increasing function, then ( a,b )=1 if and only if ( f( a ),f( b ) )=1 .

Proof: In (Theorem 3.2) when d=1 ◼

Now, when f:N→N is a levely multiplicative function, in case f is not bijective function, it is not necessary that f( a↑ )=f( a )↑ . For instance, from (Example 2.2) we have

f( 2↑ )=f( { 2n:n∈N } ) ={ 2 n :n∈N }

but

f( 2 )↑ =2↑ ={ 2n:n∈N }

Theorem 3.3: If f:N→N is a levely multiplicative and bijective function, then:

(a) f( a↑ )=f( a )↑

(b) f( A↑ )=f( A )↑

Proof: (a) Let a↑={ na:n∈N } .

Since f is bijective, we get

f( a↑ )={ f( na ):n∈N } ={ f( n )f( a ):n∈N } =f( a )↑

(b) Let A⊆N . By (Lemma 1.2), we have A↑ = ∪ a∈A a↑ . By (a), we have.

f( A↑ )=f( ∪ a∈A a↑ ) = ∪ f( a )∈f( A ) f( a↑ ) = ∪ f( a )∈f( A ) f( a )↑ =f( A )↑ ◼

Corollary 3.2: If f:N→N is a levely multiplicative and bijective function and A⊆N is upward closed, then f( A )=f( A )↑

Proof: Let A⊆N , A=A↑ . By (Theorem 3.3 (b)) we have

f( A )=f( A↑ ) =f( A )↑

Thus, f( A ) is upward closed. ◼

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Davenport, H. (2008). The Higher Arithmetic. 8th Editiom, Cambridge University Press. [Google Scholar] [CrossRef]
[2] Andreescu, T. and Andrica, D. (2009) Number Theory: Structures, Examples, and Problems. Springer Science and Business Media.
[3] Underwood, D. (2008) Elementary Number Theory. 2nd Edition, Dover Publications.
[4] Khalifa, S. (2022) Upward Closed Topology on N with Its Effect on the Levels of N. University Bulletin, 4.
[5] Khalifa, S. and Abominjil, A. (2022) Levels of Natural Numbers. University of Gharyan Journal, 24, 287-294.
https://journal.gu.edu.ly
[6] Levy, A. (2002) Basic Set Theory. Dover Publications.
[7] Kunen, K. (1980) Set Theory: An Introduction to Independence Proofs. North Holland Publishing.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.