#include using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(0); int n; long long k; cin >> n >> k; unordered_map dp; dp.reserve(210000); dp[k] = 1; for (int i = 1; i <= n; ++i) { vector> v; for (pair j : dp) { v.push_back(j); } for (auto& j : v) { if (j.first >= i) { dp[j.first / i] += j.second; } } } long long ans = 0; for (auto& i : dp) { ans += i.second; } cout << ans - 1 << '\n'; return 0; }