A sequence that has integer values for prime indexes only:Generalized Fibonacci Sequence QuestionSomos 3 sequences explanationProving a Pellian connection in the divisibility condition $(a^2+b^2+1) mid 2(2ab+1)$Limit of a sequence of averages (three variables)Does the A001921 linear recurrent integer sequence always yield composite numbers?A man died. Let's divide the estate!!! How?If $x_n_n=1^infty$ is a basis for $X$ is $x_1cupx_n-x_n-1_n=2^infty$ also a basis for $X$?Is $tau(2^n-1)$ always divides $phi(2^n-1)$ for every integer $n geq 1$?How to evaluate series based on recurrence equationConstruct $(y_n)$ such that $x_n leq y_n leq 2y_f(n)$ where $f:mathbbN_geq 0 to mathbbN_geq 1$ is strictly increasing

SOQL: Populate a Literal List in WHERE IN Clause

The difference between「N分で」and「後N分で」

How can I track script which gives me "command not found" right after the login?

How could a scammer know the apps on my phone / iTunes account?

Employee lack of ownership

PTIJ: Who should I vote for? (21st Knesset Edition)

How big is a MODIS 250m pixel in reality?

How to use deus ex machina safely?

How to make healing in an exploration game interesting

Professor being mistaken for a grad student

Is it possible to upcast ritual spells?

Use of undefined constant bloginfo

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

How to simplify this time periods definition interface?

Are ETF trackers fundamentally better than individual stocks?

Are there other languages, besides English, where the indefinite (or definite) article varies based on sound?

How can you use ICE tables to solve multiple coupled equilibria?

Define, (actually define) the "stability" and "energy" of a compound

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

Can a druid choose the size of its wild shape beast?

Could the Saturn V actually have launched astronauts around Venus?

It's a yearly task, alright

How to use of "the" before known matrices

My Graph Theory Students



A sequence that has integer values for prime indexes only:


Generalized Fibonacci Sequence QuestionSomos 3 sequences explanationProving a Pellian connection in the divisibility condition $(a^2+b^2+1) mid 2(2ab+1)$Limit of a sequence of averages (three variables)Does the A001921 linear recurrent integer sequence always yield composite numbers?A man died. Let's divide the estate!!! How?If $x_n_n=1^infty$ is a basis for $X$ is $x_1cupx_n-x_n-1_n=2^infty$ also a basis for $X$?Is $tau(2^n-1)$ always divides $phi(2^n-1)$ for every integer $n geq 1$?How to evaluate series based on recurrence equationConstruct $(y_n)$ such that $x_n leq y_n leq 2y_f(n)$ where $f:mathbbN_geq 0 to mathbbN_geq 1$ is strictly increasing













18












$begingroup$


My son gave me the following recurrence formula for $x_n$ ($nge2$):




$$(n+1)(n-2)x_n+1=n(n^2-n-1)x_n-(n-1)^3x_n-1tag1$$
$$x_2=x_3=1$$




The task I got from him:



  • The sequence has an interesting property, find it out.

  • Make a conjecture and prove it.

Obviously I had to start with a few values and calculating them by hand turned out to be difficult. So I used Mathematica and defined the sequence as follows:



b[n_] := b[n] = n (n^2 - n - 1) a[n] - (n - 1)^3 a[n - 1];
a[n_] := a[n] = b[n - 1]/(n (n - 3));
a[2] = 1;
a[3] = 1;


And I got the following results:



$$ a_4=frac74, a_5=5, a_6=frac1216, a_7=103, a_8=frac50418, a_9=frac403219, \ a_10=frac36288110, a_11=329891, a_12=frac3991680112, a_13=36846277, a_14=frac622702080114dots$$



Numbers don't make any sense but it's strange that the sequence produces integer values from time to time. It's not something that I expected from a pretty complex definition like (1).



So I decided to find the values of $n$ producing integer values of $a_n$. I did an experiment for $2le n le 100$:



table = Table[i, a[i], i, 2, 100];
integers = Select[table, (IntegerQ[#[[2]]]) &];
itegerIndexes = Map[#[[1]] &, integers]


...and the output was:



2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 
59, 61, 67, 71, 73, 79, 83, 89, 97


Conjecture (pretty amazing, at least to me):




$a_n$ is integer iff $n$ is prime.




Interesting primality test, isn't it? The trick is to prove that it's correct. I have started with substitution:



$$y_n=n x_n$$



...which simplifies (1) a bit:



$$(n-2)y_n+1=(n^2-n-1)y_n-(n-1)^2y_n-1$$



...but I did not get much further (the next step, I guess, should be rearrangement).










share|cite|improve this question









$endgroup$







  • 2




    $begingroup$
    The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
    $endgroup$
    – Carl Witthoft
    9 hours ago






  • 1




    $begingroup$
    If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
    $endgroup$
    – Cort Ammon
    9 hours ago
















18












$begingroup$


My son gave me the following recurrence formula for $x_n$ ($nge2$):




$$(n+1)(n-2)x_n+1=n(n^2-n-1)x_n-(n-1)^3x_n-1tag1$$
$$x_2=x_3=1$$




The task I got from him:



  • The sequence has an interesting property, find it out.

  • Make a conjecture and prove it.

Obviously I had to start with a few values and calculating them by hand turned out to be difficult. So I used Mathematica and defined the sequence as follows:



b[n_] := b[n] = n (n^2 - n - 1) a[n] - (n - 1)^3 a[n - 1];
a[n_] := a[n] = b[n - 1]/(n (n - 3));
a[2] = 1;
a[3] = 1;


And I got the following results:



$$ a_4=frac74, a_5=5, a_6=frac1216, a_7=103, a_8=frac50418, a_9=frac403219, \ a_10=frac36288110, a_11=329891, a_12=frac3991680112, a_13=36846277, a_14=frac622702080114dots$$



Numbers don't make any sense but it's strange that the sequence produces integer values from time to time. It's not something that I expected from a pretty complex definition like (1).



So I decided to find the values of $n$ producing integer values of $a_n$. I did an experiment for $2le n le 100$:



table = Table[i, a[i], i, 2, 100];
integers = Select[table, (IntegerQ[#[[2]]]) &];
itegerIndexes = Map[#[[1]] &, integers]


...and the output was:



2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 
59, 61, 67, 71, 73, 79, 83, 89, 97


Conjecture (pretty amazing, at least to me):




$a_n$ is integer iff $n$ is prime.




Interesting primality test, isn't it? The trick is to prove that it's correct. I have started with substitution:



$$y_n=n x_n$$



...which simplifies (1) a bit:



$$(n-2)y_n+1=(n^2-n-1)y_n-(n-1)^2y_n-1$$



...but I did not get much further (the next step, I guess, should be rearrangement).










share|cite|improve this question









$endgroup$







  • 2




    $begingroup$
    The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
    $endgroup$
    – Carl Witthoft
    9 hours ago






  • 1




    $begingroup$
    If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
    $endgroup$
    – Cort Ammon
    9 hours ago














18












18








18


2



$begingroup$


My son gave me the following recurrence formula for $x_n$ ($nge2$):




$$(n+1)(n-2)x_n+1=n(n^2-n-1)x_n-(n-1)^3x_n-1tag1$$
$$x_2=x_3=1$$




The task I got from him:



  • The sequence has an interesting property, find it out.

  • Make a conjecture and prove it.

Obviously I had to start with a few values and calculating them by hand turned out to be difficult. So I used Mathematica and defined the sequence as follows:



b[n_] := b[n] = n (n^2 - n - 1) a[n] - (n - 1)^3 a[n - 1];
a[n_] := a[n] = b[n - 1]/(n (n - 3));
a[2] = 1;
a[3] = 1;


And I got the following results:



$$ a_4=frac74, a_5=5, a_6=frac1216, a_7=103, a_8=frac50418, a_9=frac403219, \ a_10=frac36288110, a_11=329891, a_12=frac3991680112, a_13=36846277, a_14=frac622702080114dots$$



Numbers don't make any sense but it's strange that the sequence produces integer values from time to time. It's not something that I expected from a pretty complex definition like (1).



So I decided to find the values of $n$ producing integer values of $a_n$. I did an experiment for $2le n le 100$:



table = Table[i, a[i], i, 2, 100];
integers = Select[table, (IntegerQ[#[[2]]]) &];
itegerIndexes = Map[#[[1]] &, integers]


...and the output was:



2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 
59, 61, 67, 71, 73, 79, 83, 89, 97


Conjecture (pretty amazing, at least to me):




$a_n$ is integer iff $n$ is prime.




Interesting primality test, isn't it? The trick is to prove that it's correct. I have started with substitution:



$$y_n=n x_n$$



...which simplifies (1) a bit:



$$(n-2)y_n+1=(n^2-n-1)y_n-(n-1)^2y_n-1$$



...but I did not get much further (the next step, I guess, should be rearrangement).










share|cite|improve this question









$endgroup$




My son gave me the following recurrence formula for $x_n$ ($nge2$):




$$(n+1)(n-2)x_n+1=n(n^2-n-1)x_n-(n-1)^3x_n-1tag1$$
$$x_2=x_3=1$$




The task I got from him:



  • The sequence has an interesting property, find it out.

  • Make a conjecture and prove it.

Obviously I had to start with a few values and calculating them by hand turned out to be difficult. So I used Mathematica and defined the sequence as follows:



b[n_] := b[n] = n (n^2 - n - 1) a[n] - (n - 1)^3 a[n - 1];
a[n_] := a[n] = b[n - 1]/(n (n - 3));
a[2] = 1;
a[3] = 1;


And I got the following results:



$$ a_4=frac74, a_5=5, a_6=frac1216, a_7=103, a_8=frac50418, a_9=frac403219, \ a_10=frac36288110, a_11=329891, a_12=frac3991680112, a_13=36846277, a_14=frac622702080114dots$$



Numbers don't make any sense but it's strange that the sequence produces integer values from time to time. It's not something that I expected from a pretty complex definition like (1).



So I decided to find the values of $n$ producing integer values of $a_n$. I did an experiment for $2le n le 100$:



table = Table[i, a[i], i, 2, 100];
integers = Select[table, (IntegerQ[#[[2]]]) &];
itegerIndexes = Map[#[[1]] &, integers]


...and the output was:



2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 
59, 61, 67, 71, 73, 79, 83, 89, 97


Conjecture (pretty amazing, at least to me):




$a_n$ is integer iff $n$ is prime.




Interesting primality test, isn't it? The trick is to prove that it's correct. I have started with substitution:



$$y_n=n x_n$$



...which simplifies (1) a bit:



$$(n-2)y_n+1=(n^2-n-1)y_n-(n-1)^2y_n-1$$



...but I did not get much further (the next step, I guess, should be rearrangement).







sequences-and-series elementary-number-theory






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 10 hours ago









OldboyOldboy

8,77111037




8,77111037







  • 2




    $begingroup$
    The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
    $endgroup$
    – Carl Witthoft
    9 hours ago






  • 1




    $begingroup$
    If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
    $endgroup$
    – Cort Ammon
    9 hours ago













  • 2




    $begingroup$
    The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
    $endgroup$
    – Carl Witthoft
    9 hours ago






  • 1




    $begingroup$
    If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
    $endgroup$
    – Cort Ammon
    9 hours ago








2




2




$begingroup$
The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
$endgroup$
– Carl Witthoft
9 hours ago




$begingroup$
The fact that this sequence starts with the first prime index looks like a huge hint, seeing as mathematicians would start with n= 1 and software devs with n = 0 :-)
$endgroup$
– Carl Witthoft
9 hours ago




1




1




$begingroup$
If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
$endgroup$
– Cort Ammon
9 hours ago





$begingroup$
If you're interested in returning the favor to your son, there are Diophantine Equations which enumerate all primes. The result is an inequality such that, if this polynomial function (whose inputs are 26 whole numbers labeled a through z) is greater than zero, then k, the 11th argument to the function, is prime, and every prime on the entire numberline is enumerated this way.
$endgroup$
– Cort Ammon
9 hours ago











2 Answers
2






active

oldest

votes


















17












$begingroup$

The given difference equation can be solved in the following way. We have for $nge 3$,
$$
(n-2)(y_n+1-y_n) = (n-1)^2(y_n-y_n-1),\
fracy_n+1-y_nn-1=(n-1)fracy_n-y_n-1n-2.
$$
If we let $displaystyle z_n=fracy_n-y_n-1n-2$, it follows that
$$
z_n+1=(n-1)z_n=(n-1)(n-2)z_n-1=cdots =(n-1)!z_3=(n-1)!frac3x_3-2x_21=(n-1)!
$$
This gives
$$
y_n+1-y_n=(n-1)(n-1)!=n!-(n-1)!,
$$
hence $y_n = nx_n = (n-1)!+c$ for some $c$. Plugging $n=2$ yields $2=1!+c$, thus we have that $$displaystyle x_n =frac(n-1)!+1n.$$






share|cite|improve this answer









$endgroup$




















    23












    $begingroup$

    The $n^rmth$ term of the sequence is $dfrac(n-1)! + 1n$, which is an integer if and only if $n$ is prime (according to Wilson's Theorem).






    share|cite|improve this answer









    $endgroup$








    • 2




      $begingroup$
      Yes, but it is not obvious. Can you prove it?
      $endgroup$
      – Oldboy
      9 hours ago






    • 2




      $begingroup$
      I can and I did. The algebra is tedious but not difficult.
      $endgroup$
      – FredH
      9 hours ago










    • $begingroup$
      I have upvoted your answer but I accepted the one with the whole solution. :)
      $endgroup$
      – Oldboy
      5 hours ago










    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%2f3149428%2fa-sequence-that-has-integer-values-for-prime-indexes-only%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    17












    $begingroup$

    The given difference equation can be solved in the following way. We have for $nge 3$,
    $$
    (n-2)(y_n+1-y_n) = (n-1)^2(y_n-y_n-1),\
    fracy_n+1-y_nn-1=(n-1)fracy_n-y_n-1n-2.
    $$
    If we let $displaystyle z_n=fracy_n-y_n-1n-2$, it follows that
    $$
    z_n+1=(n-1)z_n=(n-1)(n-2)z_n-1=cdots =(n-1)!z_3=(n-1)!frac3x_3-2x_21=(n-1)!
    $$
    This gives
    $$
    y_n+1-y_n=(n-1)(n-1)!=n!-(n-1)!,
    $$
    hence $y_n = nx_n = (n-1)!+c$ for some $c$. Plugging $n=2$ yields $2=1!+c$, thus we have that $$displaystyle x_n =frac(n-1)!+1n.$$






    share|cite|improve this answer









    $endgroup$

















      17












      $begingroup$

      The given difference equation can be solved in the following way. We have for $nge 3$,
      $$
      (n-2)(y_n+1-y_n) = (n-1)^2(y_n-y_n-1),\
      fracy_n+1-y_nn-1=(n-1)fracy_n-y_n-1n-2.
      $$
      If we let $displaystyle z_n=fracy_n-y_n-1n-2$, it follows that
      $$
      z_n+1=(n-1)z_n=(n-1)(n-2)z_n-1=cdots =(n-1)!z_3=(n-1)!frac3x_3-2x_21=(n-1)!
      $$
      This gives
      $$
      y_n+1-y_n=(n-1)(n-1)!=n!-(n-1)!,
      $$
      hence $y_n = nx_n = (n-1)!+c$ for some $c$. Plugging $n=2$ yields $2=1!+c$, thus we have that $$displaystyle x_n =frac(n-1)!+1n.$$






      share|cite|improve this answer









      $endgroup$















        17












        17








        17





        $begingroup$

        The given difference equation can be solved in the following way. We have for $nge 3$,
        $$
        (n-2)(y_n+1-y_n) = (n-1)^2(y_n-y_n-1),\
        fracy_n+1-y_nn-1=(n-1)fracy_n-y_n-1n-2.
        $$
        If we let $displaystyle z_n=fracy_n-y_n-1n-2$, it follows that
        $$
        z_n+1=(n-1)z_n=(n-1)(n-2)z_n-1=cdots =(n-1)!z_3=(n-1)!frac3x_3-2x_21=(n-1)!
        $$
        This gives
        $$
        y_n+1-y_n=(n-1)(n-1)!=n!-(n-1)!,
        $$
        hence $y_n = nx_n = (n-1)!+c$ for some $c$. Plugging $n=2$ yields $2=1!+c$, thus we have that $$displaystyle x_n =frac(n-1)!+1n.$$






        share|cite|improve this answer









        $endgroup$



        The given difference equation can be solved in the following way. We have for $nge 3$,
        $$
        (n-2)(y_n+1-y_n) = (n-1)^2(y_n-y_n-1),\
        fracy_n+1-y_nn-1=(n-1)fracy_n-y_n-1n-2.
        $$
        If we let $displaystyle z_n=fracy_n-y_n-1n-2$, it follows that
        $$
        z_n+1=(n-1)z_n=(n-1)(n-2)z_n-1=cdots =(n-1)!z_3=(n-1)!frac3x_3-2x_21=(n-1)!
        $$
        This gives
        $$
        y_n+1-y_n=(n-1)(n-1)!=n!-(n-1)!,
        $$
        hence $y_n = nx_n = (n-1)!+c$ for some $c$. Plugging $n=2$ yields $2=1!+c$, thus we have that $$displaystyle x_n =frac(n-1)!+1n.$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 9 hours ago









        SongSong

        17.7k21349




        17.7k21349





















            23












            $begingroup$

            The $n^rmth$ term of the sequence is $dfrac(n-1)! + 1n$, which is an integer if and only if $n$ is prime (according to Wilson's Theorem).






            share|cite|improve this answer









            $endgroup$








            • 2




              $begingroup$
              Yes, but it is not obvious. Can you prove it?
              $endgroup$
              – Oldboy
              9 hours ago






            • 2




              $begingroup$
              I can and I did. The algebra is tedious but not difficult.
              $endgroup$
              – FredH
              9 hours ago










            • $begingroup$
              I have upvoted your answer but I accepted the one with the whole solution. :)
              $endgroup$
              – Oldboy
              5 hours ago















            23












            $begingroup$

            The $n^rmth$ term of the sequence is $dfrac(n-1)! + 1n$, which is an integer if and only if $n$ is prime (according to Wilson's Theorem).






            share|cite|improve this answer









            $endgroup$








            • 2




              $begingroup$
              Yes, but it is not obvious. Can you prove it?
              $endgroup$
              – Oldboy
              9 hours ago






            • 2




              $begingroup$
              I can and I did. The algebra is tedious but not difficult.
              $endgroup$
              – FredH
              9 hours ago










            • $begingroup$
              I have upvoted your answer but I accepted the one with the whole solution. :)
              $endgroup$
              – Oldboy
              5 hours ago













            23












            23








            23





            $begingroup$

            The $n^rmth$ term of the sequence is $dfrac(n-1)! + 1n$, which is an integer if and only if $n$ is prime (according to Wilson's Theorem).






            share|cite|improve this answer









            $endgroup$



            The $n^rmth$ term of the sequence is $dfrac(n-1)! + 1n$, which is an integer if and only if $n$ is prime (according to Wilson's Theorem).







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 10 hours ago









            FredHFredH

            2,034814




            2,034814







            • 2




              $begingroup$
              Yes, but it is not obvious. Can you prove it?
              $endgroup$
              – Oldboy
              9 hours ago






            • 2




              $begingroup$
              I can and I did. The algebra is tedious but not difficult.
              $endgroup$
              – FredH
              9 hours ago










            • $begingroup$
              I have upvoted your answer but I accepted the one with the whole solution. :)
              $endgroup$
              – Oldboy
              5 hours ago












            • 2




              $begingroup$
              Yes, but it is not obvious. Can you prove it?
              $endgroup$
              – Oldboy
              9 hours ago






            • 2




              $begingroup$
              I can and I did. The algebra is tedious but not difficult.
              $endgroup$
              – FredH
              9 hours ago










            • $begingroup$
              I have upvoted your answer but I accepted the one with the whole solution. :)
              $endgroup$
              – Oldboy
              5 hours ago







            2




            2




            $begingroup$
            Yes, but it is not obvious. Can you prove it?
            $endgroup$
            – Oldboy
            9 hours ago




            $begingroup$
            Yes, but it is not obvious. Can you prove it?
            $endgroup$
            – Oldboy
            9 hours ago




            2




            2




            $begingroup$
            I can and I did. The algebra is tedious but not difficult.
            $endgroup$
            – FredH
            9 hours ago




            $begingroup$
            I can and I did. The algebra is tedious but not difficult.
            $endgroup$
            – FredH
            9 hours ago












            $begingroup$
            I have upvoted your answer but I accepted the one with the whole solution. :)
            $endgroup$
            – Oldboy
            5 hours ago




            $begingroup$
            I have upvoted your answer but I accepted the one with the whole solution. :)
            $endgroup$
            – Oldboy
            5 hours ago

















            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3149428%2fa-sequence-that-has-integer-values-for-prime-indexes-only%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

            How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

            Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica