login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A325811 Lexicographically earliest sequence such that a(i) = a(j) => f(i) = f(j) where f(n) = [A034460(n), A325814(n)] for all other numbers, except f(p) = -1 for odd primes. 2
1, 2, 3, 2, 3, 4, 3, 2, 5, 6, 3, 7, 3, 8, 9, 2, 3, 10, 3, 11, 12, 13, 3, 14, 15, 16, 17, 18, 3, 19, 3, 2, 20, 21, 22, 23, 3, 24, 25, 26, 3, 27, 3, 28, 29, 30, 3, 31, 32, 33, 34, 35, 3, 36, 37, 38, 39, 40, 3, 41, 3, 42, 25, 2, 43, 44, 3, 45, 46, 47, 3, 48, 3, 49, 50, 51, 52, 53, 3, 54, 32, 55, 3, 56, 57, 58, 59, 60, 3, 61, 62, 63, 64, 65, 66, 67, 3, 68, 69, 70, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For all i, j:
A305801(i) = A305801(j) => a(i) = a(j),
A325810(i) = A325810(j) => a(i) = a(j) => A325813(i) = A325813(i).
LINKS
PROG
(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; };
A034448(n) = { my(f=factorint(n)); prod(k=1, #f~, 1+(f[k, 1]^f[k, 2])); }; \\ After code in A034448
A034460(n) = (A034448(n) - n);
A048146(n) = (sigma(n)-A034448(n));
A325814(n) = (n-A048146(n));
Aux325811(n) = if(isprime(n)&&(n%2), -(n%2), [A034460(n), A325814(n)]);
v325811 = rgs_transform(vector(up_to, n, Aux325811(n)));
A325811(n) = v325811[n];
CROSSREFS
Sequence in context: A086374 A322591 A332827 * A324380 A123182 A069464
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 23 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)