OFFSET
1,1
COMMENTS
No odd integer has any non-isolated divisors.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
The divisors of 2*10 = 20 are 1,2,4,5,10,20. Of these, 1,2,4,5 are the non-isolated divisors. So a(10) = 1*2*4*5 = 40.
MATHEMATICA
pnid[n_]:=With[{d=Divisors[2n]}, Times@@Select[d, MemberQ[d, #+1] || MemberQ[ d, #-1]&]]; Array[pnid, 100] (* Harvey P. Dale, Jul 07 2020 *)
PROG
(PARI) a(n) = {my(c=1, k=2*n, x=1); fordiv(k, d, if(d==c+1 || k%(d+1)==0, x*=d); c=d); x; } \\ Jinyuan Wang, Mar 12 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Oct 21 2007
EXTENSIONS
Extended by Ray Chandler, Jun 24 2008
STATUS
approved