OFFSET
1,1
COMMENTS
Is it possible, for each term of A211656, to find a corresponding term in the present sequence such that the corresponding GCD is equal to the initial A211656 term?
The first 11 terms of A211656 are: 2, 3, 4, 5, 7, 8, 9, 12, 13, 18, 19.
For these, we have 68, 48, 104, 12735, 364, 7848, 144, 9984, 273, 1764, 1197 in the present sequence.
For instance for m=9984, the x's are [9984, 12252], with gcd=12.
Is it possible to find a term here with corresponding gcd=22, the 12th term of A211656?
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
48 is in the sequence because sigma(48)=124 and the x's such that sigma(x)=124 are 48 and 75, with gcd(48, 75) not equal to 1.
MAPLE
M:=1000: # to get all terms <= M
N:= 0:
for n from 1 to M do
v:= numtheory:-sigma(n);
N:= max(N, v);
if assigned(R[v]) then R[v]:= igcd(R[v], n); S[v]:= S[v] union {n}
else R[v]:= n; S[v]:= {n}
fi;
od:
for n from M+1 to N do
v:= numtheory:-sigma(n);
if assigned(R[v]) then R[v]:= igcd(R[v], n); S[v]:= S[v] union {n} fi;
od:
A:=
`union`(seq(S[v], v = select(t -> R[t]>1 and nops(S[t])>1, map(op, [indices(R)])))) intersect {$1..M}:
sort(convert(A, list)); # Robert Israel, Oct 24 2019
PROG
(PARI) sigv(n) = select(i->sigma(i) == n, vector(n, i, i));
isok(n) = my(v = sigv(sigma(n))); ((gcd(v)!=1) && (#v != 1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Apr 23 2014
STATUS
approved