Gamma function in Taylor series











up vote
1
down vote

favorite












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




























    up vote
    1
    down vote

    favorite












    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


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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

















          up vote
          1
          down vote













          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',
          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








          up vote
          1
          down vote













          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















          up vote
          1
          down vote













          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













          up vote
          1
          down vote










          up vote
          1
          down vote









          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



















































           


          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

          Tonle Sap (See)

          I get strange results when I access the Sqlitedatabase with Unity C# via XAMPP

          Guatemaltekische Davis-Cup-Mannschaft