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 A091199 #24 Jun 26 2025 14:31:31 %S A091199 1,2,3,4,6,7,8,10,14,17,18,19,20,21,25,29,37,38,40,41,42,43,46,50,51, %T A091199 52,54,58,59,61,62,63,65,70,71,72,74,75,76,80,84,86,92,93,94,96,101, %U A091199 102,109,113,114,117,119,126,130,135,137,140,145,148,150,151,152,156,160 %N A091199 Numbers k such that (6k-3)^2 + 2 is prime. %C A091199 Arises from A056899: primes of the form m^2+2; m should be of the form 6n-3, hence this sequence. %H A091199 Vincenzo Librandi, <a href="/A091199/b091199.txt">Table of n, a(n) for n = 1..1000</a> %F A091199 a(n) = A056900(n-1) + 1. - _Jeppe Stig Nielsen_, May 14 2017 %e A091199 10 is a member because (60-3)^2 + 2 = 3251 is prime. %t A091199 Select[ Range[ 163], PrimeQ[(6# - 3)^2 + 2] &] (* _Robert G. Wilson v_, Feb 26 2004 *) %t A091199 lst={};Do[If[PrimeQ[(6n-3)^2+2],AppendTo[lst,n]],{n,500}];lst (* _Vincenzo Librandi_, Jul 16 2012 *) %o A091199 (Magma) [n: n in [1..250]| IsPrime((6*n-3)^2+2)]; // _Vincenzo Librandi_, Jul 16 2012 %o A091199 (PARI) is(n)=isprime((6*n-3)^2+2) \\ _Charles R Greathouse IV_, May 22 2017 %Y A091199 Cf. A056899, A056900. %K A091199 easy,nonn %O A091199 1,2 %A A091199 _Zak Seidov_, Feb 22 2004 %E A091199 More terms from _Ray Chandler_ and _Robert G. Wilson v_, Feb 25 2004