Driver code
int main ( ) { sieveOfEratothenese ( ) ; int arr [ ] = { 8 , 13 , 24 , 36 , 59 , 75 , 91 } ; for ( int i = 0 ; i < sizeof ( arr ) / sizeof ( int ) ; i ++ ) cout << sumOfProperDivisors ( arr [ i ] ) << " ▁ " ; cout << endl ; return 0 ; }