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.

A236044 Primes p such that p^4 + p + 1 is prime.

This page as a plain text file.
%I A236044 #6 Sep 27 2014 17:50:14
%S A236044 2,5,11,47,89,107,131,191,197,239,347,641,701,839,941,977,1049,1061,
%T A236044 1289,1709,1847,1871,1949,1979,2129,2789,2897,3371,3557,3719,3761,
%U A236044 3917,4001,4091,4211,4289,4337,4397,4547,4751
%N A236044 Primes p such that p^4 + p + 1 is prime.
%H A236044 Harvey P. Dale, <a href="/A236044/b236044.txt">Table of n, a(n) for n = 1..1000</a>
%e A236044 941 is prime and 941^4 + 941 + 1 is prime, thus 941 is a member of this sequence.
%t A236044 Select[Prime[Range[700]],PrimeQ[#^4+#+1]&] (* _Harvey P. Dale_, Sep 27 2014 *)
%o A236044 (Python)
%o A236044 import sympy
%o A236044 from sympy import isprime
%o A236044 {print(p) for p in range(10**5) if isprime(p) and isprime(p**4+p+1)}
%Y A236044 Cf. A049408.
%K A236044 nonn
%O A236044 1,1
%A A236044 _Derek Orr_, Jan 18 2014