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.

A087683 Numbers n such that n + 10 and n - 10 are both prime.

This page as a plain text file.
%I A087683 #18 Jul 29 2024 11:45:59
%S A087683 13,21,27,33,51,57,63,69,93,99,117,141,147,183,189,201,261,267,273,
%T A087683 303,321,327,357,363,369,399,411,429,453,477,489,513,531,567,597,603,
%U A087683 609,651,663,729,819,849,867,873,897,957,981,987
%N A087683 Numbers n such that n + 10 and n - 10 are both prime.
%C A087683 3 divides every term except the first. - _T. D. Noe_, May 14 2008
%H A087683 T. D. Noe, <a href="/A087683/b087683.txt">Table of n, a(n) for n=1..1000</a>
%t A087683 f[n_]:=PrimeQ[n-10]&&PrimeQ[n+10]; lst={};Do[If[f[n],AppendTo[lst,n]],{n,9,8!,2}];lst (* _Vladimir Joseph Stephan Orlovsky_, Oct 09 2009 *)
%t A087683 Select[Range[10,1000],AllTrue[#+{10,-10},PrimeQ]&] (* _Harvey P. Dale_, Jul 29 2024 *)
%Y A087683 Cf. A014574, A087678-A087682, A087695-A087697, A088770.
%K A087683 easy,nonn
%O A087683 1,1
%A A087683 _Zak Seidov_, Sep 27 2003