Consider the inverse of , . Each line of this 1000 line text file contains an integer , . Find .
Details and Assumptions
is the floor function. ie .
Here is an easier version of this problem.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The following Delphi code calculates g ( u ) , provided that u is in the range of f , (for safety) setting g ( u ) = − 1 if the solution is not found. This routine determined all 1 0 0 0 values quickly. Adding the answers to get 1 0 2 5 8 9 0 5 7 6 2 7 3 was elementary.