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.

A182238 n^2 + {1,3,7} are primes.

This page as a plain text file.
%I A182238 #14 May 13 2013 01:54:18
%S A182238 2,4,10,74,146,256,440,470,584,920,1070,1156,1324,1394,1420,2080,2470,
%T A182238 2600,3326,3746,4796,5996,6460,7160,7466,8894,9164,9554,9596,10490,
%U A182238 10970,11204,11246,11336,11374,12314,12386,13394,14290,15586,16250,16330,17060
%N A182238 n^2 + {1,3,7} are primes.
%C A182238 Under Schinzel's hypothesis H, this sequence is infinite. - _Charles R Greathouse IV_, Apr 23 2012
%H A182238 Charles R Greathouse IV, <a href="/A182238/b182238.txt">Table of n, a(n) for n = 1..10000</a>
%e A182238 2^2+{1,3,7}= {5,7,11} all prime, 4^2+{1,3,7}= {17,19,23} all prime.
%o A182238 (PARI)
%o A182238 { forstep ( n=2, 10^6, 2,
%o A182238     ns = n * n;
%o A182238     if ( ! isprime( ns+1 ), next() );
%o A182238     if ( ! isprime( ns+3 ), next() );
%o A182238     if ( ! isprime( ns+7 ), next() );
%o A182238     print1(n, ", ");
%o A182238 ); }
%o A182238 /* _Joerg Arndt_, Apr 22 2012 */
%Y A182238 Intersection of A005574, A049422, A114270.
%K A182238 nonn
%O A182238 1,1
%A A182238 _Zak Seidov_, Apr 20 2012