OFFSET
1,1
COMMENTS
No odd integer has any non-isolated divisors.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MAPLE
A133829 := proc(n) local divs, k, i ; divs := sort(convert(numtheory[divisors](2*n), list)) ; for i from 1 to nops(divs) do k := op(-i, divs) ; if k-1 in divs or k+1 in divs then RETURN(k) ; fi ; od: RETURN(0) ; end: seq(A133829(n), n=1..100) ; # R. J. Mathar, Oct 19 2007
PROG
(PARI) A133829(n) = { n = 2*n; my(m=0); fordiv(n, d, if(!(n%(1+d)) || ((d>1) && !(n%(d-1))), m = max(m, d))); (m); }; \\ Antti Karttunen, Mar 02 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 25 2007
EXTENSIONS
More terms from R. J. Mathar, Oct 19 2007
STATUS
approved