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 A161864 #12 Nov 26 2017 13:59:20 %S A161864 3,6,11,18,21,23,27,32,42,48,51,83,86,93,116,153,158,182,188,216,282, %T A161864 291,317,333,396,482,681,737,786,798,818,821,872,923,956,966,977,986, %U A161864 1007,1026,1077,1082,1106,1161,1287,1292,1302,1337,1341,1451,1467,1563 %N A161864 Numbers n such that n^2 + n + 5 and n^2 + n - 5 are both prime. %H A161864 Robert Israel, <a href="/A161864/b161864.txt">Table of n, a(n) for n = 1..10000</a> %e A161864 a(1)=3 as 12+-5 are primes. a(2)=6 as 42+-5 are primes. %p A161864 select(n -> isprime(n^2+n+5) and isprime(n^2+n-5), [$1..2000]); # _Robert Israel_, Nov 26 2017 %t A161864 q=5;lst5={};Do[p=n^2+n;If[PrimeQ[p-q]&&PrimeQ[p+q],AppendTo[lst5,n]], {n,0,7!}];lst5 %Y A161864 Cf. A088485, A161863. %K A161864 nonn,easy %O A161864 1,1 %A A161864 _Vladimir Joseph Stephan Orlovsky_, Jun 20 2009 %E A161864 Definition rephrased by _R. J. Mathar_, Jun 23 2009