A241625 Smallest number m such that the GCD of the x's that satisfy sigma(x)=m is n.
1, 3, 4, 7, 6, 6187272, 8, 15, 13, 196602, 8105688, 28, 14
Offset: 1
Examples
a(2) = 3, because the only x such that sigma(x)=3 is 2. a(6) = 6187272, because the x's that satisfy sigma(x)=6187272 are [2651676, 2855646] and their GCD is 6.
Links
- Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
Programs
-
PARI
lista() = {lim = 12000000; nn = 100; out = "a241625.txt"; v = vector(lim, i, sigma(i)); w = vector(lim); for (i=1, lim, vi = v[i]; if (vi <= lim, if (w[vi] == 0, w[vi] = i, w[vi] = concat(w[vi], i)););); for (i=1, nn, got = 0; write1(out, i, " "); for (j=1, #w, wj = w[j]; if (gcd(wj) == i, got = 1; write(out, j);break;);); if (! got, write(out, );););}
-
PARI
a(n) = my(m=1); while(gcd(invsigma(m)) != n, m++); m; \\ Michel Marcus, Jan 16 2025; using Max Alekseyev's invphi.gp
Formula
For n in A211656, a(n) = sigma(n).
Comments