#include using namespace std; typedef long long ll; ll calc(ll d) { return (ll)((-1 + sqrt(1 + 4 * d)) / 2.0); } int main() { int rest = 1e5; ll t = 1e9 - 1; while (rest) { ll d = t * t + t - 1; if (calc(d) != t - 1) { cout << d << endl; rest--; } t--; }; return 0; }