<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Summation of floor of harmonic progression
Python3 implementation of the approach ; Function to return the summation of the given harmonic series ; To store the summation ; Floor of sqrt ( n ) ; Summation of floor ( n / i ) ; From the formula ; Driver code

<ASSISTANT_TASK:>
Python Code:
from math import floor , sqrt , ceil 
 def getSum(n ) : 
	 summ = 0 
 k =(n ) **(.5 ) 
 for i in range(1 , floor(k ) + 1 ) : 
	 summ += floor(n / i ) 
  summ *= 2 
 summ -= pow(floor(k ) , 2 ) 
 return summ 
  n = 5 
 print(getSum(n ) ) 

<END_TASK>
