OFFSET
1,1
COMMENTS
|p - q| = k for k = 3, 8, 144.
EXAMPLE
46 is in the sequence because 46^2 + 1 = 29*73, and 73-29 = 44 < 46.
MAPLE
with(numtheory):for n from 1 to 4000 do: x:=n^2+1:y:=factorset(x):yy:=bigomega(x):if
yy=2 and (y[2]-y[1] < n or y[2]-y[1] = n) then printf(`%d, `, n):else fi:od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jan 20 2011
STATUS
approved