C ++ program to find the Kth number formed after repeated addition of smallest divisor of N
#include <bits/stdc++.h> NEW_LINE #include <cmath> NEW_LINE using namespace std ; void FindValue ( int N , int K ) {