Skip to main content
edited body
Source Link
Rod
  • 18.4k
  • 4
  • 31
  • 89

Python 2, 127 118 bytes

n=input()
l=[2,3]
exec't=sorted(x*y for i,x in enumerate(l)for y in l[i+1:]);l+=min(t,key=(l+t).count),;'*n
print l[n]

Try it online!Try it online!

Python 2, 127 118 bytes

n=input()
l=[2,3]
exec't=sorted(x*y for i,x in enumerate(l)for y in l[i+1:]);l+=min(t,key=(l+t).count),;'*n
print l[n]

Try it online!

Python 2, 127 118 bytes

n=input()
l=[2,3]
exec't=sorted(x*y for i,x in enumerate(l)for y in l[i+1:]);l+=min(t,key=(l+t).count),;'*n
print l[n]

Try it online!

deleted 3 characters in body
Source Link
Rod
  • 18.4k
  • 4
  • 31
  • 89

Python 2, 127127 118 bytes

n=input()
l=[2,3]
exec't=[x*yexec't=sorted(x*y for i,x in enumerate(l)for y in l[i+1:]];l+=min]);l+=min(v for v in t if ,key=(l+t).count(v)<2),;'*n
print l[n]

Try it online!Try it online!

Python 2, 127 bytes

n=input()
l=[2,3]
exec't=[x*y for i,x in enumerate(l)for y in l[i+1:]];l+=min(v for v in t if (l+t).count(v)<2),;'*n
print l[n]

Try it online!

Python 2, 127 118 bytes

n=input()
l=[2,3]
exec't=sorted(x*y for i,x in enumerate(l)for y in l[i+1:]);l+=min(t,key=(l+t).count),;'*n
print l[n]

Try it online!

Source Link
Rod
  • 18.4k
  • 4
  • 31
  • 89

Python 2, 127 bytes

n=input()
l=[2,3]
exec't=[x*y for i,x in enumerate(l)for y in l[i+1:]];l+=min(v for v in t if (l+t).count(v)<2),;'*n
print l[n]

Try it online!