OFFSET
1,2
COMMENTS
Contains all primes. - Ivan Neretin, Mar 02 2016
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..1000
EXAMPLE
a(7) is not 10 because we already have 10 = 2*5. Of course all primes appear. a(14) is not 24 because if it were there would be a repeat among the terms a(i)*a(j) for 1 <= i < j <= 14, namely 3*16 = 2*24.
MATHEMATICA
f[l_List] := Block[{k = 1, p = Times @@@ Subsets[l, {2}]}, While[Intersection[p, l*k] != {}, k++ ]; Append[l, k]]; Nest[f, {1, 2}, 62] (* Ray Chandler, Feb 12 2007 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert E. Sawyer (rs.1(AT)mindspring.com), Jan 18 2002
STATUS
approved