Let's define a new function called , where is a prime number and is a non-negative integer.
For , is the number of natural numbers such that and .
For every fixed prime number , this function assumes only distinct values.
What is the sum of those distinct values when ?
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.
As simple the problem is its difficulty comes from its poor formulation. "For ," in second sentence looks superfluous. Term "Natural numbers" is ambiguous as sometimes 0 is counted as natural number too. I don't know what should mean "function assumes". I have translated it as "function gives finite set of (resulting) values". It would be very nice if the problem formulation could be corrected somehow. It is fine problem, it resembles problems from our math exams.
Solution:
As cryptic the notation " p k ∣ n ! and p k + 1 ∣ n ! " can look it doesn't mean anything else than k in p k is power of p in factorization of n ! .
Example for p = 3 and n = 2 8 :
2 8 ! = 2 2 5 ⋅ 3 1 3 ⋅ 5 6 . . .
thus k = 1 3 .
Now, look at how k changes for given p for subsequent values of n .
Example for p = 3 :
We can observe that only n which are multiples of p increase value of k and in opposite those multiples always increase it. Including the fact that k cannot decrease with increasing n we can conclude that the sequence of n with same value of k is always p numbers long.
Thus, A F F L U E N C E p ( k ) = p for k > 0 .
The only problem is how long is the sequence of n for k = 0 , because it depends on our definition of "Natural numbers":
A F F L U E N C E p ( 0 ) = p if we count 0 as natural number, or
A F F L U E N C E p ( 0 ) = p − 1 if we don't.
Thus, the result is p or p + ( p − 1 ) .