Gamma function in Taylor series












1














The formula I am having some problems is this one
$$
fleft( x right) =sin left(frac { 2(x-3)!-x+1 }{ 2x } pi right) =sin left(frac { 2,Gamma (x-2)-x+1 }{ 2x } pi right)
$$



Although this might seem too general it is a variation of Wilson's theorem which (in my opinion) has slightly better properties than the general Wilson's theorem formula.



If you look at the graph you'll see that the values for $f(x)$ where $x$ is prime is 0 while for $x$ nonprime tends to be converging toward $-1$ and in almost a perfect fashion and rapidly.
My idea is this: turn this into infinite Taylor series and add $x$ to it, that way we could get a good approximation of prime counting function to infinity.



In other words:



$$
lim _{ xrightarrow infty }{ x+sum _{ nepsilon N }^{ }{ f(n) } } =lim _{ xrightarrow infty }{ Pi (x) }
$$



The problem I am having is actually converting it into Taylor series. I really didn't have any experience with this kind of equations so I was wondering is there any trick to do this, or should I just let this one pass



Edited: Changed the formula, forgot to multiply by $pi$










share|cite|improve this question





























    1














    The formula I am having some problems is this one
    $$
    fleft( x right) =sin left(frac { 2(x-3)!-x+1 }{ 2x } pi right) =sin left(frac { 2,Gamma (x-2)-x+1 }{ 2x } pi right)
    $$



    Although this might seem too general it is a variation of Wilson's theorem which (in my opinion) has slightly better properties than the general Wilson's theorem formula.



    If you look at the graph you'll see that the values for $f(x)$ where $x$ is prime is 0 while for $x$ nonprime tends to be converging toward $-1$ and in almost a perfect fashion and rapidly.
    My idea is this: turn this into infinite Taylor series and add $x$ to it, that way we could get a good approximation of prime counting function to infinity.



    In other words:



    $$
    lim _{ xrightarrow infty }{ x+sum _{ nepsilon N }^{ }{ f(n) } } =lim _{ xrightarrow infty }{ Pi (x) }
    $$



    The problem I am having is actually converting it into Taylor series. I really didn't have any experience with this kind of equations so I was wondering is there any trick to do this, or should I just let this one pass



    Edited: Changed the formula, forgot to multiply by $pi$










    share|cite|improve this question



























      1












      1








      1







      The formula I am having some problems is this one
      $$
      fleft( x right) =sin left(frac { 2(x-3)!-x+1 }{ 2x } pi right) =sin left(frac { 2,Gamma (x-2)-x+1 }{ 2x } pi right)
      $$



      Although this might seem too general it is a variation of Wilson's theorem which (in my opinion) has slightly better properties than the general Wilson's theorem formula.



      If you look at the graph you'll see that the values for $f(x)$ where $x$ is prime is 0 while for $x$ nonprime tends to be converging toward $-1$ and in almost a perfect fashion and rapidly.
      My idea is this: turn this into infinite Taylor series and add $x$ to it, that way we could get a good approximation of prime counting function to infinity.



      In other words:



      $$
      lim _{ xrightarrow infty }{ x+sum _{ nepsilon N }^{ }{ f(n) } } =lim _{ xrightarrow infty }{ Pi (x) }
      $$



      The problem I am having is actually converting it into Taylor series. I really didn't have any experience with this kind of equations so I was wondering is there any trick to do this, or should I just let this one pass



      Edited: Changed the formula, forgot to multiply by $pi$










      share|cite|improve this question















      The formula I am having some problems is this one
      $$
      fleft( x right) =sin left(frac { 2(x-3)!-x+1 }{ 2x } pi right) =sin left(frac { 2,Gamma (x-2)-x+1 }{ 2x } pi right)
      $$



      Although this might seem too general it is a variation of Wilson's theorem which (in my opinion) has slightly better properties than the general Wilson's theorem formula.



      If you look at the graph you'll see that the values for $f(x)$ where $x$ is prime is 0 while for $x$ nonprime tends to be converging toward $-1$ and in almost a perfect fashion and rapidly.
      My idea is this: turn this into infinite Taylor series and add $x$ to it, that way we could get a good approximation of prime counting function to infinity.



      In other words:



      $$
      lim _{ xrightarrow infty }{ x+sum _{ nepsilon N }^{ }{ f(n) } } =lim _{ xrightarrow infty }{ Pi (x) }
      $$



      The problem I am having is actually converting it into Taylor series. I really didn't have any experience with this kind of equations so I was wondering is there any trick to do this, or should I just let this one pass



      Edited: Changed the formula, forgot to multiply by $pi$







      prime-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Apr 7 '13 at 17:42









      vonbrand

      19.8k63058




      19.8k63058










      asked Apr 7 '13 at 17:20









      user1398593

      364




      364






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Well it seems I will answer my own question.
          There is a similar formula that clearly says the nature of prime numbers and it goes like this:



          $$pi (m)=sum _{ j=2 }^{ m }{ frac { sin ^{ 2 }{ (pi frac { { ((j-1)!) }^{ 2 } }{ j } ) } }{ sin ^{ 2 }{ (frac { pi }{ j } ) } } } $$



          This function really is a prime counting function but you can see that it is a little tricky to develop it into a working formula since it should be integrated over ${ 1 }_{ N }$ .



          However since I'm already answering I'm going to show what I planned on doing with the formula:



          $$pi (x)quad approx quad sum _{ n=1 }^{ n=x }{ [quad cos { (frac { 2*(n-3)!+1 }{ 2n } pi ) } -cos { (frac { 2*(n-3)!+1 }{ n } pi ) } quad ] } $$






          share|cite|improve this answer





















          • furthermore it converges toward $π(x)$
            – user1398593
            Apr 10 '13 at 19:03











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f354030%2fgamma-function-in-taylor-series%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Well it seems I will answer my own question.
          There is a similar formula that clearly says the nature of prime numbers and it goes like this:



          $$pi (m)=sum _{ j=2 }^{ m }{ frac { sin ^{ 2 }{ (pi frac { { ((j-1)!) }^{ 2 } }{ j } ) } }{ sin ^{ 2 }{ (frac { pi }{ j } ) } } } $$



          This function really is a prime counting function but you can see that it is a little tricky to develop it into a working formula since it should be integrated over ${ 1 }_{ N }$ .



          However since I'm already answering I'm going to show what I planned on doing with the formula:



          $$pi (x)quad approx quad sum _{ n=1 }^{ n=x }{ [quad cos { (frac { 2*(n-3)!+1 }{ 2n } pi ) } -cos { (frac { 2*(n-3)!+1 }{ n } pi ) } quad ] } $$






          share|cite|improve this answer





















          • furthermore it converges toward $π(x)$
            – user1398593
            Apr 10 '13 at 19:03
















          1














          Well it seems I will answer my own question.
          There is a similar formula that clearly says the nature of prime numbers and it goes like this:



          $$pi (m)=sum _{ j=2 }^{ m }{ frac { sin ^{ 2 }{ (pi frac { { ((j-1)!) }^{ 2 } }{ j } ) } }{ sin ^{ 2 }{ (frac { pi }{ j } ) } } } $$



          This function really is a prime counting function but you can see that it is a little tricky to develop it into a working formula since it should be integrated over ${ 1 }_{ N }$ .



          However since I'm already answering I'm going to show what I planned on doing with the formula:



          $$pi (x)quad approx quad sum _{ n=1 }^{ n=x }{ [quad cos { (frac { 2*(n-3)!+1 }{ 2n } pi ) } -cos { (frac { 2*(n-3)!+1 }{ n } pi ) } quad ] } $$






          share|cite|improve this answer





















          • furthermore it converges toward $π(x)$
            – user1398593
            Apr 10 '13 at 19:03














          1












          1








          1






          Well it seems I will answer my own question.
          There is a similar formula that clearly says the nature of prime numbers and it goes like this:



          $$pi (m)=sum _{ j=2 }^{ m }{ frac { sin ^{ 2 }{ (pi frac { { ((j-1)!) }^{ 2 } }{ j } ) } }{ sin ^{ 2 }{ (frac { pi }{ j } ) } } } $$



          This function really is a prime counting function but you can see that it is a little tricky to develop it into a working formula since it should be integrated over ${ 1 }_{ N }$ .



          However since I'm already answering I'm going to show what I planned on doing with the formula:



          $$pi (x)quad approx quad sum _{ n=1 }^{ n=x }{ [quad cos { (frac { 2*(n-3)!+1 }{ 2n } pi ) } -cos { (frac { 2*(n-3)!+1 }{ n } pi ) } quad ] } $$






          share|cite|improve this answer












          Well it seems I will answer my own question.
          There is a similar formula that clearly says the nature of prime numbers and it goes like this:



          $$pi (m)=sum _{ j=2 }^{ m }{ frac { sin ^{ 2 }{ (pi frac { { ((j-1)!) }^{ 2 } }{ j } ) } }{ sin ^{ 2 }{ (frac { pi }{ j } ) } } } $$



          This function really is a prime counting function but you can see that it is a little tricky to develop it into a working formula since it should be integrated over ${ 1 }_{ N }$ .



          However since I'm already answering I'm going to show what I planned on doing with the formula:



          $$pi (x)quad approx quad sum _{ n=1 }^{ n=x }{ [quad cos { (frac { 2*(n-3)!+1 }{ 2n } pi ) } -cos { (frac { 2*(n-3)!+1 }{ n } pi ) } quad ] } $$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Apr 10 '13 at 12:04









          user1398593

          364




          364












          • furthermore it converges toward $π(x)$
            – user1398593
            Apr 10 '13 at 19:03


















          • furthermore it converges toward $π(x)$
            – user1398593
            Apr 10 '13 at 19:03
















          furthermore it converges toward $π(x)$
          – user1398593
          Apr 10 '13 at 19:03




          furthermore it converges toward $π(x)$
          – user1398593
          Apr 10 '13 at 19:03


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f354030%2fgamma-function-in-taylor-series%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          ts Property 'filter' does not exist on type '{}'

          Notepad++ export/extract a list of installed plugins