0% found this document useful (0 votes)
70 views

About The Smarandache Complementary Prime Function

The document describes properties of the Smarandache complementary prime function c(n). Some key points: 1. c(n) is defined such that n + c(n) equals the smallest prime greater than or equal to n. 2. Several properties of c(n) are proved, including that c(c(n)) < c(n), the equation c(n) - c(n-1) = c(n-2) has solutions, and the equation c(x) - x = c(y) - y has an infinite number of solutions. 3. The properties show some relationships between c(n) and prime numbers. For example, c(p

Uploaded by

Mia Amalia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

About The Smarandache Complementary Prime Function

The document describes properties of the Smarandache complementary prime function c(n). Some key points: 1. c(n) is defined such that n + c(n) equals the smallest prime greater than or equal to n. 2. Several properties of c(n) are proved, including that c(c(n)) < c(n), the equation c(n) - c(n-1) = c(n-2) has solutions, and the equation c(x) - x = c(y) - y has an infinite number of solutions. 3. The properties show some relationships between c(n) and prime numbers. For example, c(p

Uploaded by

Mia Amalia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

ABOUT THE SMARANDACHE COMPLEMENTARY PRIME FUNCTION

by
Marcela POPESCU and Vasile SELEACU
Let c. N N be the function defined by the condition that n + c ( n ) = Pi ' where
Pi is the smallest prime number, Pi 2: n.
Example
c(O)=2, c(I)=I, c(2)=O, c(3)=O, c(4)=I, c(5)=O, c(6)=I,
c ( 7 ) = and so on.
1 ) If Pl and Pl-l are two consecutive primes and P
1
< n Pl-l' then
c ( n ) E { PH - P
1
- 1, P1-l - P. - 2, . . . , 1, :, because
c ( Pi - 1 ) = PH - Pl - 1 and so on, c ( PH ) =
2 ) c ( P ) = c ( P - 1 ) -1 = for every P prime, because c ( P ) = and c ( P - 1 ) = I.
We also can observe that c ( n ) -:;:. c ( n + 1 ) for everv n E N
1. Property
The equation c ( n ) = n, n > 1 has no solutions.
Proof
Ifn is a prime it results c ( n ) = < n.
It is wellknown that between n and 2n, n> 1 there exists at least a prime number. Let
Pl be the smallest prime of them. Then if n is a composite number we have
c ( n ) = P. - n < 2n - n = n, therefore c ( n ) < n.
12
I c(n)
It results that for every n p. where p is a pnme. we have n::; -n- < 1.
"c(n) _ c(n)
therefore .t... -- Because for the primes c ( p ) ! P = 0 we can say that 1--
n=r n - ,;;j n
pr.rr...:
diverges
2. Property
If n is a composite number. then c ( n ) = c ( n - I ) - I.
Proof
Obviously.
. c(n)
It results that for nand ( n - I ) composIte numbers we have c(n _ 1) > I . if
Pl < n < Pl-I where Pl and P._I are consecutive primes. then we have.
c ( n ) c ( n - 1 ) . . . c ( PH - I ) = ( PH - n )!
and if n ::; Pl < PH then c ( n ) c ( n 1 ) . . . c ( PH - 1 ) = o.
Of course. every tI c(n) = 0 if there exists a prime number P, k::; P ::; r.
n=\"
If n = P. is any prime number. then c ( n ) = 0 and because c ( n";" 1 ) = P H - n - I it
results that c ( n ) - c ( n 1 ) I = 1 if and only if n and ( n + 2 ) are primes ( friend prime
numbers)
3. Property
F or every k - th prime number Pl we have
Proof
Because c ( P
l
- 1 ) = P._I - P. - 1 we have P._I - P. = c ( P. - 1 ) T 1.
But. on the other hand we have PH - P. < ( log P. )2. then the assertion follows.
4. Property
c ( c ( n ) ) < c ( n ) and c
m
( n ) < c ( n ) < n. for every n > 1 and m 2 .
Proof
If we denote c ( n ) = r then we have.
c ( c ( n ) ) = c ( r ) < r = c (n ).
Then we suppose that the assertion is true for m : c
m
( n ) < c ( n ) < n, and we prove it
13
for ( In - I ). too
COl' I ( n ) = c ( C
m
( n ) ) < COl ( n ) < c ( n ) < n
5. Property
F or every prime p we have ( c ( p - I )" ~ c ( ( p - I n
Proof
c ( p - I ) = I :::::> (c ( p - I n = I while ( p - I r IS a composite number. therefore
cp-I)")21.
6. Property
The following kind of Fibonacci equation:
c(n)-c(n-l)=c(n-2) ( 1 )
has solutions.
Proof
Ifn and ( n ~ 1 ) are both composite numbers, then c (n) > c (n 1 )2 1. If( n ~ 2 )
is a prime. then c ( n - 2 ) = 0 and we have no solutions in this case. If ( n ~ 2 ) is also a
composite number. then:
c ( n ) > C ( n - 1 ) > C ( n - 2 ) 2 1, therefore c ( n ) -f- C ( n T 1 ) > c ( n ~ 2 )
and we have no solutions also in this case
Therefore nand ( n - 1 ) are not both composite numbers in the equality ( 1 ).
If n is a prime, then ( n - 1 ) is a composite number and we must have:
o - c ( n - 1 ) = c ( n - 2 ), wich is not possible ( see ( 2 ) ).
We have only the case when ( n - I ) is a p r i m ~ in this case we must have:
I - 0 = c ( n - 2 ) but this implies that ( n .... 3 ) is a prime number, so the only
solutions are when ( n -+- 1 ) and ( n - 2 ) are friend prime numbers.
7. Property
The following equation:
c(n) -i- c(n ..... 2)
=
c(n - 1) ( 2 )
2
has an infinite number of solutions.
14
Proof
Let P
l
and Pl-! be two consecutive prime numbers. but not friend prime numbers.
Then. for every integer i between Pl -\ and P
l
! - \ we have:
c(i - \) - c(i - \) (PhI - i ..,.. \)...;... (PhI - i-I)
=
= c(i)
So. for the equation (:!) all positive integer n between Pl"'" \ and Pl-! - 1 is a
solution
If
. h . b c(n; ::n -- c ( n - 1 ).
n IS pnme. t e equation ecomes
But ( n ...;... 1 ) is a composite number. therefore c ( n ...;... 1 ) :t; 0 c ( n ..,.. 2 ) must be
composite number. Because in this case c ( n ..... 1 ) = c ( n ..... 2 ) ..... 1 and the equation has the
form
c(n -'-"')
2 - = c ( n + 2 ) T 1, so we have no solutions.
If ( 1) . h h c(n) Tc(n-'-2)
nTIS pnme, t en we must ave 2 = 0, where nand ( n + 2 )
are composite numbers. So we have no solutions in this case, because c ( n ) 1 and

If ( n ...;... 2 ) is a prime, the equation has the form Ci
n
) = c ( n + 1 ), where ( n"'" 1 ) is
a composite number, therefore c ( n ..... 1) :;t: 0 . From (2) it rezults that c ( n) :t; 0, so
n is also a composite number. This case is the same with the first considered case.
Therefore the only solutions are for Pk, Pk+l - 2 , where Pl' Pl-! are consecutive
primes. but not friend consecutive primes.
8. Property
The greatest common divisor of nand c ( x ) is 1 :
( x. c ( x ) ) = 1, for every composite number x.
Proof
Taking into account of the definition of the function c, we have x + c ( x ) = p, where P
is a prime number.
If there exists d :t; 1 so that d / x and d / c( x ), then it implies that d / p. But P is a
prime number, therefore d = p.
This is not possibile because c ( x ) < p.
Ifp is a prime number, then ( P, c ( P ) ) = ( p , 0 ) = p.
15
9. Property
The equation [ x. y ] = [ c ( x ). c ( y ) ]. where [ x. y ] is the least common multiple of
x and y has no solutions for x. y > I.
Proof
Let us suppose that x = dk
1
and y = k ~ . where d = ( x. y ). Then we must have
[ x. y ] = dk
1
kc = [ c ( x ). c ( y ) 1
But (x. c ( x ) ) = ( dk
1
C ( x ) ) = I. therefore dk
1
is gIven In the least common
multiple [c ( x ). c ( y )] by c ( y )
But (Y. c ( y ) ) = ( dk
1
C ( Y ) ) = I => d = 1 => ( x, y ) = I =>
=> [x. y ] = xy > c ( x ) c ( y ) [ c ( x ), c ( y )], therefore the above equation has no
solutions. for x. y > I.
F or x = I = Y we have [ x, y ] = [ c ( x ), c ( y ) ] = I.
10. Property
The equation.
( x, y ) = ( c ( x ), c ( y ) )
has an infinite number of solutions.
Proof
( 3 )
If x = I and y = p - 1 then ( x, y ) = 1 and ( c ( x ), c ( y ) ) = ( I, 1 ) = I, for an
arbitrary prime p
Easily we observe that every pair ( n. n - I ) of numbers is a solutions for the equation
( 3 ), ifn is not a prime
11. Property
The equation.
c(x)-x=c(y)-I-y
has an infinite number of solutions.
Proof
( 4 )
From the definition ofthe function c it results that for every x and y satisfying
16
Pl < X::; Y ::; Pl I we have c ( x ) - x = c ( y ) + Y = Pl I . Therefore we have ( Pl-I - Pl )2
couples ( x. y ) as different solutions. Then. until the n-th prime Po ' we have 2: ( PH - Pl )2
1..=1
different solutions
Remark
It seems that the equation c ( x ) + y = c ( y ) ~ x has no solutions x ~ y, but it is not
true.
Indeed. let Pk and Pl-I be consecutive primes such that PH - Pl = 6 ( is possibile : for
example 29 - 23 = 6,37 - 31 = 6. 53 - 47 = 6 and so on ) and P
k
- 2 is not a prime.
Then c ( Pl - 2 ) = 2. c ( Pl - 1 ) = I. c ( Pl ) = , c ( P
l
+ 1 ) = 5, c ( Pl ..... 2 ) = 4,
c ( Pl + 3 ) = 3 and we have :
1. c ( Pk + 1 ) - c ( P
l
- 2 ) = 5 - 2 = 3 = ( Pl + 1 ) - (Pl - 2 )
2. c ( Pk ..;.. 2 ) - c ( Pl - 1 ) = 3 = ( Pl + 2 ) - ( Pl - 1 )
3. c ( P
l
+ 3 ) - c ( Pl ) = 3 = ( Pl + 3 ) - Pl' thus
c ( x ) - c ( y ) = x - y ( c:> c ( x ) + Y = c ( y ) + x ) has the above solutions if PL - Pl.1 > 3
If Pl - Pk.1 = 2 we have only the two last solutions.
In the general case, when PH - Pl = 2h, h E N*, let x = PI; - u and y = Pl + v, u,v E N
be the solutions of the above equation
Then c ( x ) = c ( Pl - U ) = u and c ( y ) = c ( P
l
+ V ) = 2h - v.
The equation becomes:
u ~ ( Pl + V ) = ( 2h - v ) + ( Pl - U ). thus u + v = h.
Therefore. the solutions are x = P
k
- u and y = Pl + h - u, for every u = 0, h if
Pl - PH >h and x = PI; - U, Y = Pl + h - u, for every u = 0, I if p" - Pl.1 = 1+ 1 s h.
Remark
c ( Pk + 1 ) is an odd number, because if Pk and P
l
-1 are consecutive primes, Pl > 2, then
P
k
and PH are. of course, odd numbers; then PH - Pl - 1 = c ( P
l
+ 1 ) are always odd.
12. Property
dd
The sumatory function of c, F < ( n ) = L c ( d) has the properties :
e ~
din
17
a) F. ( 2p ) = I T C ( 2p )
b ) F, ( pq ) = I T C ( pq ). where p and q are prime numbers.
Proof
a ) F. ( 2p ) = c ( I ) + c ( 2 ) + c ( p ) T C ( 1p ) = I + c ( 1p ).
b ) F. ( pq ) = c ( 1 ) + c ( p ) + c ( q ) T C ( pq ) = 1 T C ( pq ).
Remark
The function C is not multiplicative: 0 = c ( 1 ) . c ( p ) < C ( 2p ).
13. Property
o for k odd number
2 for k even number, k 2: 1
Proof
We have:
c
l
( P ) = 0;
c
2
( p ) = c ( c ( p ) ) = c ( 0 ) = 1;
c
3
( P ) = c (2 ) = 0:
c
4
( p ) = c ( 0 ) = 1.
Using the complete mathematical induction, the property holds.
Consequences
cl.:(p)
1 ) We have
+ cl.:+l(p)
.., = 1 for every k 2: 1 and p prime number.
= r -2
r
l. 2, where [x] is the integer part of x, and
L J
= I l thus L
_-_ - 1<.21
Remark
cl.:(p) and L
~
k e\"en
1 are divergent series.
cl.:(p)
c
L
( P _ 1 ) = C
L

I
( c ( p - 1 = C
L

I
( 1 ) = 1, for every prime p > 3 and k E N*,
therefore c
kl
( PI - 1 ) = c
k
: ( P2 - 1 ) for every primes PI , P2 > 3 and k) , k2 E N*.
14.Property
The equation:
c(x)+c(y)+c(z)=c(x)c(y)c(z) ( 5 )
18
has an infinite number of solutions
Proof
The only non-negative solutions for the diofantine equation a .,.. b - c = abc are a = 1.
b = 1 and c = 3 and all circular permutations of: I. 1. 3 :.
Then
c ( x ) = 1 x = Pl - I. Pl prime number. PL > 3
c ( Y ) = 1 Y = Pl -1, where Pr-1 and P
r
are consecutive prime numbers such
that Pr - Pr-1 3
c ( z ) = 3 Z = PI - 3. where PI-1 and PI are consecutive prime numbers such that
PI - PI-1 4
and all circular permutations of the above values of x. y and z.
Of course. the equation c ( x ) = c ( y ) has an infinite number of solutions.
Remark
We can consider c'" ( y ), for every y E N*, defined as c'" ( y ) = { X E N i c ( x ) = y I.
For example c'" ( 0 ) is the set of all primes, and c'" ( 1 ) is the set ( 1, Pl-1 } Il prime and so on.
Pk > 3
A study of these sets may be interesting.
Remark
If we have the equation:
c
L
( X ) = c ( y ), k 1 ( 6 )
then. using property 13, we have two cases.
If x is prime and k is odd, then c
l
( x ) = 0 and ( 5 ) implies that y is prime.
In the case when x is prime and k is even it results c
L
( x ) = 1 = c ( y ), which implies
that y is a prime. such that y - 2 is not prime.
Ifx = p, Y = q, P and q primes, p,q > 3, then ( p - 1, q - 1 ) are also solutions, because
c
L
( p - 1 ) = 1 = c ( q - 1 ), so the above equation has an infinite number of couples as
solutions
Also a study of ( c
k
( X ) ) ... seems to be interesting.
19
Remark
The equation
c(n)"'c(n-I )-c(n-2)=c(n-l) ( 7 )
has solutions when c ( n - I ) = 3. c ( n ) = 2. c ( n -i- I ) = I. c ( n 2 ) = O. so the solutions
are n = p - 2 for every p prime number such that between p - 4 and p there is not another
pnme.
The equation.
c ( n - 2 ) - c ( n - I ) - c ( n - I ) - c ( n - 2 ) = 4c ( n ) ( 8 )
has as solutions n = p - 3. where p is a prime such that between p - 6 and p there is not another
prime. because 4c ( n ) = 12 and c ( n - 2 ) c ( n - I ) c ( n T I ) ... c ( n -i- 2 ) = 12.
For example n = 29 - 3 = 26 is a solution of the equation ( 7 ).
The equation.
(9)
( see property 7) has as solution n = p - 5, where p is a prime, such that between p - 6 and p
there is not another prime. Indeed we have 0 T 1 -i- 2 -i- 3 -i- 4 = 2 5.
Thus. using the properties of the function c we can decide if an equation, which has a
similar form with the above equations. has or has not solutions.
But a difficult problem is " For any even number a. can we find consecutive primes
such that P._I - P. = a? "
The answer is useful to find the solutions of the above kind of equations, but is also
important to give the answer in order to solve another open problem.
" Can we get. as large as we want. but finite decreasing sequence k, k - 1, ... ,2, 1,0
( odd k ). included in the sequence of the values of c'>"
If someone gives an answer to this problem, then it is easy to give the answer ( it will
be the same) at the similar following problem:
" Can we get, as large as we want, but finite decreasing sequence k, k - 1, ... , 2, 1, 0
( even k), included in the sequence of the values of c?"
20
\Ve suppose the answer is negative.
In the same order of ideea. it is interesting to tind max
n
c(n)
n
It is well known ( see [4]. page 147) that Pn'l - Pn < ( In Pn )2. where Pn and Pnl are
two consecutive primes.
c(n)
Moreover. -n-' Pl < n ::; Pl-l reaches its maxImum value for n = Pl - I. where
P
l
IS a pnme.
c(n)
n
So. in this case:
=
P 1-. ... 1 - PI-. - 1
PI-. -I
< o
Using this result. we can find the maximum value of
(lnp)2-1 (InIOO)2-1
For P > 100 we have <
p+1 101
c(n)
n
<
4
max
2 ~ I O O
Using the computer, by a straight forward computation, it IS easy to prove that
c(n) = 3 wich is reached for n = 8.
n 8'
c(n) 1
Because rl < 4 for every n, 100 it results that max
~
reached for n = 8.
Remark
c(n)
n
=
...
.)
8
There exists an infinite number of finite sequences { c ( k, ), c ( k, -I- 1), ... , c ( k2 ) I
1-.,
such that L c(k) is a three-cornered number for k, ' k2 E N* (the n-th three-cornered
1-.=",
number is Tn
=
n(n-l- I) N*
2 ,n E 1 ).
de!"
For example. in the case k, = Pl and k2 = PH ' two consecutive primes. we have the
finite sequence : c ( Pl)' c ( Pl -I- I), ... , c ( PH - 1), c ( PH ) I and
P ~ , (Pt-.+l - PI.. - 1 )(Pk+l - Pl.)
L c(k) = 0 + (pl.+1 - pI,: - 1) ........ ~ 2 + 1 0 = = T P\;-I-1'k-1
~ I 2
Of course. we can define the function c' : N \ { O. 1 ~ N, c' ( n ) = n - k, where k is
the smallest natural number such that n - k is a prime number. but we shall give some
properties of this function in another paper.
21
References
[ 1 ] I. C ucurezeanu - " Probleme de aritmetica si teoria numerelor ".
Editura Tehnica. Bucuresti. 1976:
[ 2] P Radovici - Marculescu - " Probleme de teoria elementara a numerelor ".
Editura Tehnica. Bucuresti. 1986:
[ 3] C. Popovici - " T eoria numerelor ".
Editura Didactica si Pedagogica. Bucuresti. 1973:
[ 4] W Sierpinski - Elementary Theory of Numbers,
Warszawa. 1964:
[ 5] F. Smarandache - " Only problems, not solutions' "
Xiquan Publishing House. Phoenix - Chicago. 1990, 1991, 1993.
Current address
University of Craiova,
Department of Mathematics,
13, " A. 1. Cuza " street.
Craiova - 1100,
ROMANIA
22

You might also like