Skip to main content
added 115 characters in body
Source Link
Jos Woolley
  • 1.9k
  • 2
  • 8

Excel, 1919 16 bytes

With many thanks to Dominic van Essen for the 3-byte save:

=1E9*(A1^1E-9-1)

Previous:

=9^9*(A1^(1/9^9)-1)

Input in cell A1. The choice of 9^91E9 (i.e. 1000000000) is sufficient for the given test cases and required accuracy.

Excel, 19 bytes

=9^9*(A1^(1/9^9)-1)

Input in cell A1. The choice of 9^9 is sufficient for the given test cases and required accuracy.

Excel, 19 16 bytes

With many thanks to Dominic van Essen for the 3-byte save:

=1E9*(A1^1E-9-1)

Previous:

=9^9*(A1^(1/9^9)-1)

Input in cell A1. The choice of 1E9 (i.e. 1000000000) is sufficient for the given test cases and required accuracy.

Source Link
Jos Woolley
  • 1.9k
  • 2
  • 8

Excel, 19 bytes

=9^9*(A1^(1/9^9)-1)

Input in cell A1. The choice of 9^9 is sufficient for the given test cases and required accuracy.