Small Sunday Teaser
- March 19, 2023
- 2 replies
- 2511 views
The collapsed area contains the function NumberGenerator() that produces a new number for every supplied (integer) number. Three results are shown. Your task is to come up with a/the definition of the function such that it computes the (correct) value associated with 433 (and any other number in Z).

As you will find out, I've limited the function to just the three first input numbers with:

Where the red placeholder should contain the code to implement the actual functionality.
To not spoil the fun for others, I'll accept solutions in Prime or Mathcad as either one of:
- the function NumberGenerator(), limited to the same input range, in a collapsed locked area, dated later than the timestamp above. The password should be the result of NumberGenerator(pw), and pw is supplied along.
- submitted to me in a PM (in case you're limited to express).
Success!
Luc

