OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=17 because the distance between (17,19,23) and (29,31,37) is 22. a(7)=811 because the distance between (811,821,823) and (827,829,839) is 24.
MATHEMATICA
cdiQ[n_]:=Module[{a=Take[n, 3], b=Take[n, -3]}, IntegerQ[Sqrt[Total[(a-b)^2]]]]; Select[Partition[Prime[Range[1200]], 6, 1], cdiQ][[All, 1]] (* Harvey P. Dale, Apr 10 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Gil Broussard, Jan 16 2009
STATUS
approved
