A functional recurrence to obtain the prime numbers using the Smarandache prime function. Sebastián Martín Ruiz Theorem: We are considering the function: For n integer: i i i 1 2 2n m j 1 j j F ( n) n 1 m n 1 i n 1 i
one has: p k 1 F p k for all k 1 where p k k 1 are the prime numbers and x is the greatest integer less than or equal to x. Observe that the knowledge of p k 1 only depends on knowledge of p k and the knowledge of the fore primes is unnecessary. Proof: Suppose that we have found a function P(i ) with the following property: 1 if i is composite P(i ) 0 if i is prime
This function is called Smarandache prime function.(Ref.) Consider the following product: m
P(i)
i p k 1
If p k m p k 1
If m p k 1
m
P(i) 1 since i : p k 1 i m are all composites. i p 1 k
m
P (i ) 0
i p k 1
since P( p k 1 ) 0