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.

A247269 Primes p such that p + m^2 is prime for all m in {2,4,6,8,10,12,14,16,18}.

This page as a plain text file.
%I A247269 #15 Sep 12 2014 10:55:12
%S A247269 163,409333,1483087,1867783,222640867,258001837,371305267,748576753,
%T A247269 828497443,1235054137,2059599067,5767711867,5929920613,8965599883,
%U A247269 9055004953,9170160343,9655686727,9670115977,9671300983,10646399437,12253792783,12627473917,19635778453
%N A247269 Primes p such that p + m^2 is prime for all m in {2,4,6,8,10,12,14,16,18}.
%C A247269 All terms are == 1 mod 6, and == {7, 13} mod 30.
%C A247269 Subsequence of A246842.
%H A247269 Zak Seidov, <a href="/A247269/b247269.txt">Table of n, a(n) for n = 1..1592</a>
%o A247269 (PARI)
%o A247269 forprime(p=1,10^12,c=0;for(i=1,9,if(ispseudoprime(p+(2*i)^2),c++);if(!ispseudoprime(p+(2*i)^2),break));if(c==9,print1(p,", "))) \\ _Derek Orr_, Sep 11 2014
%o A247269 (PARI) is(n)=my(t=n%5); if(t!=2 && t!=3, return(0)); forstep(i=4,18,2, if(!isprime(n+i^2),return(0))); isprime(n) && isprime(n+4)
%o A247269 p=2; forprime(q=3,1e12, if(q-p==4 && is(p), print1(p", ")); p=q) \\ _Charles R Greathouse IV_, Sep 11 2014
%Y A247269 Cf. A049492, A092120, A246842.
%K A247269 nonn
%O A247269 1,1
%A A247269 _Zak Seidov_, Sep 11 2014