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 A188382 #31 Sep 08 2022 08:45:56 %S A188382 11,37,79,137,211,821,991,1597,1831,2081,2347,2927,3571,3917,4657, %T A188382 5051,6329,8779,9871,11027,14197,14879,17021,20101,21737,26107,27967, %U A188382 28921,33931,34981,39341,40471,41617,50087,51361,59341 %N A188382 Primes of the form 8*n^2 + 2*n + 1. %C A188382 In a variant of the Ulam spiral with only odd numbers, prime numbers can line up in horizontal or vertical lines rather than diagonal lines. These primes are on one such horizontal (or vertical) line. %C A188382 Primes in A188135. Primes in the sequence found by reading the line from 1, in the direction 1, 11, ..., in the square spiral whose vertices are the triangular numbers A000217. - _Omar E. Pol_, Sep 04 2011 %C A188382 Equivalently, primes of the form 2*n^2+n+1. - _N. J. A. Sloane_, Nov 08 2014 %H A188382 Vincenzo Librandi, <a href="/A188382/b188382.txt">Table of n, a(n) for n = 1..1000</a> %p A188382 select(isprime,[seq(8*n^2+2*n+1,n=0..86)]); # _Peter Luschny_, Aug 22 2011 %t A188382 Select[Table[8n^2 + 2n + 1, {n, 100}], PrimeQ] %o A188382 (Magma) [ a: n in [0..250] | IsPrime(a) where a is 8*n^2 + 2*n + 1 ]; // _Vincenzo Librandi_, Apr 05 2011 %o A188382 (PARI) select(isprime, vector(1000,n,8*n^2+2*n+1)) \\ _Charles R Greathouse IV_, Jun 14 2011 %Y A188382 Cf. A090684, A187677. %K A188382 nonn,easy %O A188382 1,1 %A A188382 _Alonso del Arte_, Mar 29 2011