打表or百度(有网的话)均可
纯签到题,不多说了

#include<bits/stdc++.h>
using namespace std;
int main() {
    printf("3 7 31 127 8191\n");
    return 0;
}