Skip to main content
Tweeted twitter.com/StackCodeGolf/status/885682072374751232
added 9 characters in body
Source Link
Wheat Wizard
  • 100k
  • 22
  • 282
  • 661

The first two MU-numbers are 2 and 3. Every other MU-number is the smallest number not yet appeared that can be expressed as the product of two earlier distinct MU-numbers in exactly one way.

Here are the first 10

2, 3, 6, 12, 18, 24, 48, 54, 96, 162

Task

Given a positive number calculate and output the nth MU-number.

This is a competition so you should aim to make your source code as small as possible.

OEIS A007335

The first two MU-numbers are 2 and 3. Every other MU-number is the smallest number not yet appeared that can be expressed as the product of two earlier MU-numbers in exactly one way.

Here are the first 10

2, 3, 6, 12, 18, 24, 48, 54, 96, 162

Task

Given a positive number calculate and output the nth MU-number.

This is a competition so you should aim to make your source code as small as possible.

OEIS A007335

The first two MU-numbers are 2 and 3. Every other MU-number is the smallest number not yet appeared that can be expressed as the product of two earlier distinct MU-numbers in exactly one way.

Here are the first 10

2, 3, 6, 12, 18, 24, 48, 54, 96, 162

Task

Given a positive number calculate and output the nth MU-number.

This is a competition so you should aim to make your source code as small as possible.

OEIS A007335

Source Link
Wheat Wizard
  • 100k
  • 22
  • 282
  • 661

Calculate the MU-numbers

The first two MU-numbers are 2 and 3. Every other MU-number is the smallest number not yet appeared that can be expressed as the product of two earlier MU-numbers in exactly one way.

Here are the first 10

2, 3, 6, 12, 18, 24, 48, 54, 96, 162

Task

Given a positive number calculate and output the nth MU-number.

This is a competition so you should aim to make your source code as small as possible.

OEIS A007335