It would be nice if you could spell it out a little more in plain English.
If I'm reading it right...
B(n,k) is the largest number d <= k where d is a factor of n. I.e. The largest not-necessarily-prime factor of n <= k.
S(
n,k) is the sum of those B(n,k) for a given k. I.e. if the Sieve of Eratosthenes is run dumbly (with both primes and composites), over a range n=1...k! with maximum
prime factor k, this is the sum of the largest factors that hit each element? (I notice that the n passed in is not used.)
And T(
n,k) is the number of (distinct?) products of all numbers in {1..k} and {1..k!}? (Again, I notice that the n passed in is not used.)
Edit:
This too! It seems like it's too early (in the year) to be dealing with such heavy math.