In his dream, Chris wrote a function in Python, which takes a positive integer as the parameter.
1 2 3 4 5 6 7 |
|
How many distinct inputs are there such that this function returns 627372?
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.
By a examination of the code,the loop withing the function definition is just a multiplication and the function switches values at values which are squares of integers.