login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082128
Smallest difference>1 between d and p/d for any divisor d of the partial product p of the sequence, starting with 21.
2
21, 4, 5, 13, 8, 2, 32, 16, 64, 512, 131072, 4194304, 8589934592, 9007199254740992, 75557863725914323419136, 20769187434139310514121985316880384
OFFSET
0,1
COMMENTS
For n>3, the members are all powers of two. Proved by Luke Pebody, pers. comm.
PROG
(PARI) p=21; 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]))
CROSSREFS
Cf. A082120, A003681 (starts with 2, 3).
Sequence in context: A263277 A040428 A040429 * A034082 A040427 A070988
KEYWORD
nonn,hard
AUTHOR
Ralf Stephan, Apr 04 2003
STATUS
approved