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 A171832 #17 Jul 22 2025 07:32:08 %S A171832 2,3,5,11,29,41,47,137,197,227,251,269,293,353,359,383,401,467,641, %T A171832 659,701,797,839,857,929,1103,1163,1193,1229,1259,1289,1319,1373,1439, %U A171832 1451,1487,1523,1553,1559,1721,1787,1847,1871,1877,1889,1913,1949,2081 %N A171832 Primes p such that p and 5*p^2+5*p-1 are both prime. %H A171832 Harvey P. Dale, <a href="/A171832/b171832.txt">Table of n, a(n) for n = 1..3000</a> %t A171832 Select[Prime[Range[400]],PrimeQ[5#^2+5#-1]&] (* _Harvey P. Dale_, Apr 03 2010 *) %o A171832 (Magma) [p: p in PrimesUpTo(2500) | IsPrime(5*p^2+5*p-1)]; // _Vincenzo Librandi_, Aug 20 2014 %o A171832 (PARI) lista(nn) = {forprime(p=2, nn, if (isprime(5*p^2+5*p-1), print1(p, ", ")););} \\ _Michel Marcus_, Aug 20 2014 %K A171832 nonn %O A171832 1,1 %A A171832 _Vincenzo Librandi_, Dec 19 2009 %E A171832 Corrected sequence because 1553 had been omitted _Harvey P. Dale_, Apr 03 2010