OFFSET
1,1
COMMENTS
Bisection of A084307.
LINKS
Michel Marcus, Table of n, a(n) for n = 1..1000
MATHEMATICA
Module[{nn=60000, g}, g=GCD@@@Partition[DivisorSigma[1, Range[nn]], 2, 1]; Table[ Position[ g, 2n, 1, 1], {n, 55}]]//Flatten (* Harvey P. Dale, Jan 28 2023 *)
PROG
(PARI) a(n) = my(x=1); while(gcd(sigma(x), sigma(x+1)) != 2*n, x++); x;
(Magma) sol:=[]; for n in [1..55] do k:=1; while Gcd(DivisorSigma(1, k), DivisorSigma(1, k+1)) ne 2*n do k:=k+1; end while; Append(~sol, k); end for; sol; // Marius A. Burtea, Aug 29 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Aug 29 2019
STATUS
approved