OFFSET
2,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 2..1000
EXAMPLE
The divisors of 14 are 1,2,7,14. So a(14) = gcd(1+2, 2+7, 7+14) = 3.
MAPLE
A104076 := proc(n) local dvs ; dvs := sort(convert(numtheory[divisors](n), list)) ; igcd(seq( op(i, dvs)+op(i+1, dvs), i=1..nops(dvs)-1)) ; end: for n from 2 to 140 do printf("%d, ", A104076(n)) ; od: # R. J. Mathar, Sep 05 2008
MATHEMATICA
Table[GCD@@(Total/@Partition[Divisors[n], 2, 1]), {n, 2, 100}] (* Harvey P. Dale, Dec 18 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 31 2008
EXTENSIONS
Extended by R. J. Mathar, Sep 05 2008
Definition corrected by Leroy Quet, Sep 21 2008
STATUS
approved