C ++ program to verify fermat 's last theorem for a given range and n.
#include <bits/stdc++.h> NEW_LINE using namespace std ; void testSomeNumbers ( int limit , int n ) { if ( n < 3 ) return ; for ( int a = 1 ; a <= limit ; a ++ ) for ( int b = a ; b <= limit ; b ++ ) {