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.

A282378 Primes of the form (p^2 + q^2)/2 such that (p^4 + q^4)/2 is prime, where p and q are primes.

Original entry on oeis.org

17, 89, 97, 149, 157, 229, 241, 769, 937, 1109, 1117, 1129, 1249, 1549, 1753, 2161, 2221, 2389, 3301, 3769, 4129, 4261, 4801, 4909, 5113, 5449, 5569, 5869, 6121, 6469, 7369, 7621, 7681, 8089, 8329, 8389, 8761, 9649, 10009, 10429, 11161, 11941, 12241, 12409
Offset: 1

Views

Author

Thomas Ordowski and Altug Alkan, Feb 13 2017

Keywords

Crossrefs

Subsequence of A103739.

Programs

  • PARI
    list(lim)=my(v=List(),p2,p4,t); lim\=1; if(lim<9,lim=9); forprime(p=3,sqrtint(2*lim-9), p2=p^2; p4=p2^2; forprime(q=3, min(sqrtint(2*lim-p2),p), if(isprime(t=(p2+q^2)/2) && isprime((p4+q^4)/2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 14 2017

Extensions

More terms from Arkadiusz Wesolowski, Feb 13 2017