A082121 Smallest difference>1 between d and p/d for any divisor d of the partial product p of the sequence, starting with 7.
7, 6, 11, 19, 37, 109, 515, 3301, 267271, 130914197, 209015618081, 887384060899271, 58605404461258015758293
Offset: 0
Programs
-
PARI
p=7; print1(p, ", "); for(n=1, 50, v=divisors(p); r=sqrt(p); t=0; for(k=1, matsize(v)[2], if(v[k]>=r, t=k; break)); if(v[t]^2==p, u=t, u=t-1); if(v[t]-v[u]<2, u=u-1; t=t+1); print1(v[t]-v[u]", "); p=p*(v[t]-v[u]))