Square Root Everywhere

Computer Science Level pending

In his dream, Chris wrote a function in Python, which takes a positive integer as the parameter.

1
2
3
4
5
6
7
def func(n):
    if n == 1:
        return 1
    val = 0
    for i in range(int(sqrt(n))):
        val += func(int(sqrt(n)))
    return val

How many distinct inputs \(n\) are there such that this function returns 627372?

×

Problem Loading...

Note Loading...

Set Loading...