cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A082122 Smallest difference > 1 between d and p/d for any divisor d of the partial product p of the sequence, starting with 11.

Original entry on oeis.org

11, 10, 17, 21, 23, 31, 43, 167, 6383, 31741, 52112213, 37549127743, 36777947021270771, 504837176634758950812127
Offset: 0

Views

Author

Ralf Stephan, Apr 04 2003

Keywords

Crossrefs

Cf. A082120, A003681 (starts with 2, 3), A082123.

Programs

  • PARI
    p=11; 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]))