I still don't understand and I am not able to follow the paper either.
Can you give an example of what the function call would look like for
your example? Like yourfunction(x) == y.
On Wed, Mar 17, 2021 at 4:47 PM Janmay Bhatt <
jrbhat...@gmail.com> wrote:
>
> Surely I can give an example of a function by taking a prime number as 19 for base.
> I am attaching my paper herewith for reference, in which you may refer function
> Prime gaps for 19 are 2 and 4 (i.e our a and b in pole point section)
> According to the function we have 2(19) - 17 = 21 (not prime)
> now second part,
> 2(19) -13 = 25 (not prime)
> now third part,
> 2(19)-1 = 37 (prime)
It's known that there exists a prime between any x and 2x, but where
do 17, 13, an 1 come from? And how does 4 relate to anything?
>
> So we generated a prime from a prime which can be started from 2
> and recursively we will get a series of primes for a specific base.
>
> Then with the same notations we have addition formulation for series and nth term formulation.
>
> Now to make this function in python for sympy I am still trying to make the function complete
> for which I thought of GSOC.
GSoC projects are typically larger in scope than a single function,
unless the algorithm required for the single function is very complex.
But I still don't understand what this function of yours even is or
what use it would have. Is it an existing function or algorithm in the
literature (outside of your paper)? Is the purpose just to generate
prime numbers? SymPy has the function randprime(), although I'm sure
the methods used by it could be more efficient for large primes.
Aaron Meurer
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/CA%2Bceb0zMWkCdaDJr9EZFi0BSFXky-sSJ-M23Wvdbga6YRDHrCQ%40mail.gmail.com.