Antti Karttunen, <a href="/A369259/b369259_1.txt">Table of n, a(n) for n = 1..65537</a>
Antti Karttunen, <a href="/A369259/b369259_1.txt">Table of n, a(n) for n = 1..65537</a>
proposed
approved
editing
proposed
editing
proposed
Antti Karttunen, <a href="/A369259/b369259_1.txt">Table of n, a(n) for n = 1..65537</a>
<a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a>
<a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 15, 23, 24, 25, 26, 27, 28, 29, 21, 30, 31, 32, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 29, 31, 43, 44, 45, 46, 47, 48, 49, 46, 50, 51, 52, 53, 54, 55, 39, 56, 57, 58, 59, 60, 61, 62, 59, 46, 63, 64, 65, 66, 67, 62, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 59
1,2
(PARI)
up_to = 65537;
rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om, invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om, invec[i], i); outvec[i] = u; u++ )); outvec; };
A003557(n) = (n/factorback(factor(n)[, 1]));
A003961(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
A048250(n) = if(n<1, 0, sumdiv(n, d, if(core(d)==d, d)));
A342671(n) = gcd(sigma(n), A003961(n));
Aux369259(n) = [A003557(n), A048250(n), A342671(n)];
v369259 = rgs_transform(vector(up_to, n, Aux369259(n)));
A369259(n) = v369259[n];
allocated
nonn
Antti Karttunen, Jan 25 2024
approved
editing
allocated for Antti Karttunen
allocated
approved