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.

A155142 Primes p that belong neither to A155140 nor to A155141.

This page as a plain text file.
%I A155142 #8 Jul 25 2016 13:34:09
%S A155142 5,13,23,29,31,41,53,59,67,71,79,103,113,131,139,149,151,157,167,173,
%T A155142 179,193,211,229,239,241,257,271,283,311,337,359,367,373,379,383,401,
%U A155142 409,419,421,463,479,491,499,503,509,521,563,599,601,607,617,641,643
%N A155142 Primes p that belong neither to A155140 nor to A155141.
%H A155142 John Cerkan, <a href="/A155142/b155142.txt">Table of n, a(n) for n = 1..10000</a>
%t A155142 <<NumberTheory`NumberTheoryFunctions` lst={};Do[p=Prime[n];If[SquareFreeQ[p-4]&&SquareFreeQ[p+4],NULL,If[ !SquareFreeQ[p-4]&&!SquareFreeQ[p+4],NULL,AppendTo[lst,p]]],{n,6!}];lst
%Y A155142 Cf. A153213, A049282, A155139, A155140, A155141.
%K A155142 nonn
%O A155142 1,1
%A A155142 _Vladimir Joseph Stephan Orlovsky_, Jan 21 2009