OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
(197,199) is a pair because all of 196, 198, and 200 are divisible by squares.
MATHEMATICA
dsQ[n_] := Length[Select[FactorInteger[n][[All, 2]], # > 1 &]] > 0; Select[ Partition[ Prime[ Range[ 250]], 2, 1], #[[2]]-#[[1]]==2&&AllTrue[ #[[1]]+ {-1, 1, 3}, dsQ]&]//Flatten (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Nov 28 2018 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 15 2009
EXTENSIONS
Corrected and previous (incorrect) Mathematica program replaced by Harvey P. Dale, Nov 28 2018
STATUS
approved