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 A164939 #5 Jul 22 2025 07:18:58 %S A164939 3,5,7,13,23,29,43,79,89,113,139,163,193,197,199,229,233,277,283,317, %T A164939 367,379,389,503,619,727,769,797,829,839,953,967,977,997,1063,1229, %U A164939 1297,1307,1399,1409,1483,1607,1619,1637,1697,1759,1777,1877,1979,1987,1999 %N A164939 These are prime numbers p such that p^3 + p^2 + p + 2 is also prime. %H A164939 Harvey P. Dale, <a href="/A164939/b164939.txt">Table of n, a(n) for n = 1..1000</a> %e A164939 3 is prime as is 3^3 + 3^2 + 3 + 2 = 41 %t A164939 Select[Prime[Range[500]],PrimeQ[ #^3 + #^2 + # + 2]&] %Y A164939 A027444, A053698 %K A164939 easy,nonn %O A164939 1,1 %A A164939 B. R. Becker (bbecker(AT)panda3.phys.unm.edu), Sep 01 2009