#include using namespace std; typedef long long ll; #define P pair #define FOR(I,A,B) for(ll I = ll(A); I < ll(B); ++I) #define FORR(I,A,B) for(ll I = ll((B)-1); I >= ll(A); --I) #define TO(x,t,f) ((x)?(t):(f)) #define SORT(x) (sort(x.begin(),x.end())) // 0 2 2 3 4 5 8 9 #define POSL(x,v) (lower_bound(x.begin(),x.end(),v)-x.begin()) //xi>=v x is sorted #define POSU(x,v) (upper_bound(x.begin(),x.end(),v)-x.begin()) //xi>v x is sorted #define NUM(x,v) (POSU(x,v)-POSL(x,v)) //x is sorted #define REV(x) (reverse(x.begin(),x.end())) //reverse ll gcd(ll a,ll b){if(a ans; vector dev; vector enum_div(ll n){//yakusu vector ret; for(ll i=1 ; i*i<=n ; ++i){ if(n%i == 0){ ret.push_back(i); if(i!=(n/i))ret.push_back(n/i); } } return ret; } void dfs(ll m,ll d){ ans.insert(m); if(d==K)return; for(auto x:dev){ if(x==1)continue; if(m*x<=M)dfs(m*x,d+1); } return; } int main(){ cin >> N >> K >> M; dev = enum_div(N); dfs(1,0); cout << ans.size() << endl; }