#include using namespace std; typedef long long ll; ll calc(ll d) { return (ll)((-1 + sqrt(1 + 4*d)) / 2.0); } ll solve(ll d){ for(ll t=calc(d)+5;;t--){ if(t*t+t<=d)return t; } } int main(){ int cnt=0; for(ll i=100000000;;i++){ if(calc(i*i+i-1)!=solve(i*i+i-1)){ printf("%lld\n",i*i+i-1); cnt++; if(cnt==100000)break; } } return 0; }