A168469 Numbers of the form p^2 - q^2, p, q primes, p > q, with repetitions.
5, 16, 21, 24, 40, 45, 48, 72, 72, 96, 112, 117, 120, 120, 120, 144, 160, 165, 168, 168, 168, 192, 240, 240, 240, 240, 264, 280, 285, 288, 312, 312, 312, 336, 352, 357, 360, 360, 408, 408, 408, 432, 432, 480, 480, 480, 504, 520, 525, 528, 528, 552, 552, 552
Offset: 1
Keywords
Crossrefs
Cf. A124865 Numbers of the form p^2 - q^2, p, q primes, p > q.
Programs
-
Mathematica
Take[Sort[Last[#]^2-First[#]^2&/@Subsets[Prime[Range[40]],{2}]],60] (* Harvey P. Dale, Jul 22 2012 *)