OFFSET
1,1
EXAMPLE
57 = 19*3 and 19 - 3 = 16 = 4^2.
MAPLE
with(numtheory): a:=proc(n) if bigomega(n)=2 and nops(factorset(n))=2 and type(sqrt(factorset(n)[2]-factorset(n)[1]), integer)=true then n else end if end proc: seq(a(n), n=1..4000); # Emeric Deutsch, Aug 16 2008
MATHEMATICA
Take[ Sort[ Times @@@ Select[ Subsets[ Array[ Prime, 310], {2}], IntegerQ[ Sqrt[ #[[2]] - #[[1]] ]] &]], 48] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
David Spector (spectord(AT)ccsu.edu), Aug 13 2008
EXTENSIONS
Extended by Emeric Deutsch, Aug 16 2008
STATUS
approved