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 A166987 #3 Mar 31 2012 12:38:27 %S A166987 72,108,200,392,500,968,1352,1372,4232,7688,8788,13448,14792,17672, %T A166987 19652,27436,27848,35912,48668,49928,55112,75272,81608,84872,97556, %U A166987 102152,119164,137288,150152,154568,177608,182408,197192,202612,223112 %N A166987 Members of A143610 for which both neighbors are squarefree. %C A166987 Numbers of the form n=p^2*q^3 where p and q are two different primes and where n+1 and n-1 are both in A005117. %t A166987 f[n_]:=Last/@FactorInteger[n]=={2,3}||Last/@FactorInteger[n]=={3,2}; << NumberTheory`NumberTheoryFunctions` lst={};Do[If[f[n],If[SquareFreeQ[n-1]&&SquareFreeQ[n+1], AppendTo[lst,n]]],{n,3*9!}];lst %Y A166987 Cf. A067874. %K A166987 nonn %O A166987 1,1 %A A166987 _Vladimir Joseph Stephan Orlovsky_, Oct 26 2009 %E A166987 Definition narrowed by _R. J. Mathar_, Oct 28 2009