Function ADS::knuthGaps

Function Documentation

inline std::vector<std::size_t> ADS::knuthGaps(std::size_t n)

the gaps 1 , 4 , 13 , 40 , … below n, increasing

Post:

the gaps start from 1 and increase