login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A324181 Lexicographically earliest sequence such that a(i) = a(j) => f(i) = f(j), where f(n) = A324180(n) for n > 1 and f(1) = -1. 7
1, 2, 2, 3, 2, 4, 2, 4, 5, 6, 2, 4, 2, 7, 8, 9, 2, 6, 2, 4, 10, 11, 2, 4, 12, 13, 8, 4, 2, 6, 2, 14, 15, 16, 17, 9, 2, 18, 19, 14, 2, 7, 2, 4, 8, 20, 2, 4, 21, 7, 22, 4, 2, 7, 23, 24, 25, 26, 2, 14, 2, 27, 8, 28, 29, 11, 2, 4, 30, 7, 2, 4, 2, 31, 10, 4, 32, 13, 2, 24, 33, 34, 2, 24, 35, 36, 37, 38, 2, 7, 39, 4, 40, 41, 42, 4, 2, 11, 8, 43, 2, 16, 2, 44, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

For all i, j: a(i) = a(j) => A324120(i) = A324120(j).

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65537

Index entries for sequences computed from indices in prime factorization

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; };

A061395(n) = if(1==n, 0, primepi(vecmax(factor(n)[, 1])));

A297167(n) = if(1==n, 0, (A061395(n) + (bigomega(n)-omega(n)) - 1));

A297112(n) = if(1==n, 0, 2^A297167(n));

A324180(n) = { my(v=0); fordiv(n, d, if(d<n, v = bitxor(v, A297112(d)))); (v); };

Aux324181(n) = if((1==n), -n, A324180(n));

v324181 = rgs_transform(vector(up_to, n, Aux324181(n)));

A324181(n) = v324181[n];

CROSSREFS

Cf. A000040 (positions of 2's), A156552, A297112, A324120, A324180.

Cf. also A300827, A323914, A324203.

Sequence in context: A001616 A257599 A218702 * A297169 A318835 A319353

Adjacent sequences:  A324178 A324179 A324180 * A324182 A324183 A324184

KEYWORD

nonn

AUTHOR

Antti Karttunen, Feb 19 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 1 00:13 EDT 2021. Contains 346377 sequences. (Running on oeis4.)