Skip to main content
minor update
Source Link
Arnauld
  • 205.5k
  • 21
  • 187
  • 670

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only (decimal) digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

This computes \$1+2^{1+65535}\$


With all the BigInt suffixes for BigIntsand extra parentheses due to a different operator precedence, a direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only (decimal) digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

This computes \$1+2^{1+65535}\$


With all the suffixes for BigInts, a direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only (decimal) digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

This computes \$1+2^{1+65535}\$


With all the BigInt suffixes and extra parentheses due to a different operator precedence, a direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

minor update
Source Link
Arnauld
  • 205.5k
  • 21
  • 187
  • 670

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only (decimal) digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

AThis computes \$1+2^{1+65535}\$


With all the suffixes for BigInts, a direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

A direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only (decimal) digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

This computes \$1+2^{1+65535}\$


With all the suffixes for BigInts, a direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

saved 1 byte
Source Link
Arnauld
  • 205.5k
  • 21
  • 187
  • 670

JavaScript (Node.js), 2221 bytes

-1 thanks to @l4m2

The only digit used in the source is 0.

_=>-~(-~0n<<-~0xFFFFn~0n>>~0xFFFFn)

Try it online!Try it online!

A direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 22 bytes

The only digit used in the source is 0.

_=>-~(-~0n<<-~0xFFFFn)

Try it online!

A direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

JavaScript (Node.js), 21 bytes

-1 thanks to @l4m2

The only digit used in the source is 0.

_=>-~(-~0n>>~0xFFFFn)

Try it online!

A direct port of ovs' answer would be 25 bytes:

_=>-~(2n**2n**2n**2n**2n)

Try it online!

Source Link
Arnauld
  • 205.5k
  • 21
  • 187
  • 670
Loading