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.
%I A224795 #5 Apr 21 2013 14:54:05 %S A224795 7,17,3,5,3,61,7,5,3,5,11,37,0,53,3,5,3,13,7,5,7,37,3,13,7,5,3,193,3, %T A224795 13,19,29,3,5,11,109,19,5,3,5,131,109,11,5,3,5,3,61,23,5,7,13,3,13,7, %U A224795 29,3,29,3,73,7,0,331,5,3,61,7,5,3,53,59,13,11,5,3 %N A224795 Smallest prime q such that 2n+1 = 2p - q^3 for some odd prime p, or 0 if no such prime exists. %C A224795 See the conjecture and the comments in A224794, and the corresponding primes p. %H A224795 Michel Lagneau, <a href="/A224795/b224795.txt">Table of n, a(n) for n = 1..10000</a> %e A224795 a(4) = 5 because, for (p, q) = (67, 5), 2*4+1 = 9 = 2*67 - 5^3 = 134 - 125 = 9. %p A224795 for n from 3 by 2 to 200 do:jj:=0:for j from 1 to 50000 while (jj=0) do:q:=ithprime(j):p:=(q^3+n)/2:if type(p,prime)=true then jj:=1: printf(`%d, `,q):else fi:od:if jj=0 then printf(`%d, `,0):else fi:od: %Y A224795 Cf. A224730, A185046, A224794. %K A224795 nonn %O A224795 1,1 %A A224795 _Michel Lagneau_, Apr 18 2013