OFFSET
3,1
COMMENTS
That is, we compute the LCM of all differences prime(i)-prime(j) for 1 < j < i <= n.
LINKS
P. Erdős, Some problems on number theory, Analytic and elementary number theory, (Marseille, 1983), Publ. Math. Orsay, 86-1, pp. 53-67, Univ. Paris XI, Orsay, 1986.
P. Erdős, Some problems on number theory, Proceedings of the seventeenth Southeastern international conference on combinatorics, graph theory, and computing (Boca Raton, Fla., 1986 Congr. Numer. 54 (1986), 225-244.
MATHEMATICA
Table[p=Prime[Range[2, n]]; d=Rest[Union[Abs[Flatten[Outer[Plus, p, -p]]]]]; LCM@@d, {n, 3, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Aug 12 2009
STATUS
approved