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.

A155771 Numbers n such that 2*n^2+2*n-41 is a prime.

This page as a plain text file.
%I A155771 #9 Sep 08 2022 08:45:41
%S A155771 5,6,7,8,9,10,11,12,14,15,16,17,18,19,21,22,23,25,27,28,29,33,34,39,
%T A155771 42,44,45,46,48,50,52,53,56,57,58,59,61,65,66,68,69,74,77,80,83,86,87,
%U A155771 90,91,93,95,96,99,101,103,104,106,107,110,116,121,126,128,130,131,133,136
%N A155771 Numbers n such that 2*n^2+2*n-41 is a prime.
%H A155771 Vincenzo Librandi, <a href="/A155771/b155771.txt">Table of n, a(n) for n = 1..1000</a>
%e A155771 For n=14, a(14)=379; n=140, a(140)=39439.
%t A155771 Select[Range[4, 200], PrimeQ[2#^2+2#-41]&] (* _Vincenzo Librandi_, Sep 24 2012 *)
%o A155771 (Magma) [n: n in [4..150] | IsPrime(2*n^2+2*n-41)]; // _Vincenzo Librandi_, Sep 24 2012
%Y A155771 Cf. A155769, A155770, A155772.
%K A155771 nonn,easy
%O A155771 1,1
%A A155771 _Vincenzo Librandi_, Jan 27 2009