cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A161681 Primes that are the difference between a cube and a square (conjectured values).

This page as a plain text file.
%I A161681 #18 Nov 16 2019 15:40:46
%S A161681 2,7,11,13,19,23,47,53,61,67,71,79,83,89,107,109,127,139,151,167,191,
%T A161681 193,199,223,233,239,251,271,277,293,307,359,431,433,439,463,487,499,
%U A161681 503,547,557,587,593,599,631,647,673,683,719,727,769,797,859,887,919
%N A161681 Primes that are the difference between a cube and a square (conjectured values).
%C A161681 The primes found among the differences are sorted in ascending order and unique primes are then extracted. I call this a "conjectured" sequence since I cannot prove that somewhere on the road to infinity there will never exist an integer pair x,y such that x^3-y^2 = 3,5,17,..., missing prime. For example, testing x^3-y^2 for x,y up to 10000, the count of some duplicates are:
%C A161681 duplicate,count
%C A161681 7,2
%C A161681 11,2
%C A161681 47,3
%C A161681 431,7
%C A161681 503,7
%C A161681 1999,5
%C A161681 28279,11
%C A161681 Yet for 3,5,17,29,... I did not find even one.
%C A161681 [Comment from _Charles R Greathouse IV_, Nov 03 2009: 587 = 783^3 - 21910^2, 769 = 1025^3 - 32816^2, and 971 = 1295^3 - 46602^2 were skipped in the original.]
%C A161681 Conjecture: The number of primes in x^3-y*2 is infinite.
%C A161681 Conjecture: The number of duplicates for a given prime is finite. Then there is the other side - the primes that are not in the sequence 3, 5, 17, 29, 31, 37, 41, 43, 59, 73, 97, 101, 103, ... Looks like a lot of twin components here. Do these have an analytical form? Is there such a thing as a undecidable sequence?
%C A161681 Range of A167224. - _Reinhard Zumkeller_, Oct 31 2009
%H A161681 R. Zumkeller, <a href="/a161681.txt">Some Examples</a> [From _Reinhard Zumkeller_, Oct 31 2009]
%F A161681 Integers x,y such that x^3-y^2 = p where p is prime. The generation bound is 10000.
%e A161681 3^3 - 4^2 = 15^3 - 58^2 = 11.
%o A161681 (PARI) diffcubesq(n) =
%o A161681 {
%o A161681   local(a,c=0,c2=0,j,k,y);
%o A161681   a=vector(floor(n^2/log(n^2)));
%o A161681   for(j=1,n,
%o A161681     for(k=1,n,
%o A161681       y=j^3-k^2;
%o A161681       if(ispseudoprime(y),
%o A161681         c++;
%o A161681         a[c]=y;
%o A161681       )
%o A161681     )
%o A161681   );
%o A161681   a=vecsort(a);
%o A161681   for(j=2,c/2,
%o A161681     if(a[j]!=a[j-1],
%o A161681       c2++;
%o A161681       print1(a[j]",");
%o A161681       if(c2>100,break);
%o A161681     )
%o A161681   );
%o A161681 }
%Y A161681 Cf. A000040.
%K A161681 nonn
%O A161681 1,1
%A A161681 _Cino Hilliard_, Jun 16 2009
%E A161681 Extended and edited by _Charles R Greathouse IV_, Nov 03 2009
%E A161681 Further edits by _N. J. A. Sloane_, Nov 09 2009