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.

A282341 Primes p of the form x^2 + y^2 such that q = (x^2 + 1)/y^2 is a prime less than p.

Original entry on oeis.org

349, 1049, 1733, 33749, 53849, 79549, 135449, 381949, 535849, 558149, 692249, 1036349, 1156249, 1483549, 1871449, 2304349, 3097769, 6181349, 6411049, 8809049, 10355549, 11102249, 16401701, 16491521, 22867549, 26419769, 27457889, 30603049, 31728577, 34176557
Offset: 1

Views

Author

Thomas Ordowski and Altug Alkan, Feb 12 2017

Keywords

Comments

The negative Pell equation x^2 - q*y^2 = -1, hence q = (x^2 + 1)/y^2.
Primes p = q are A002496.

Examples

			For prime p = 349 = 18^2 + 5^2 is q = (18^2 + 1)/5^2 = 13 prime < p.
		

Crossrefs

Subsequence of A002313.

Programs

  • PARI
    list(lim)=my(v=List(),x2,q,y,p); for(x=1,sqrtint(lim\4), x2=4*x^2; [q,y]=core(x2+1,1); p=x2+y^2; if(q