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!)
A331182 Number of values of k, 1 <= k <= n, with A083254(k) = A083254(n), where A083254(n) = 2*phi(n) - n. 3
1, 1, 2, 2, 1, 1, 1, 3, 2, 2, 1, 1, 1, 3, 3, 4, 1, 1, 1, 2, 3, 4, 1, 1, 2, 5, 2, 3, 1, 1, 1, 5, 1, 6, 1, 1, 1, 7, 3, 2, 1, 1, 1, 4, 4, 8, 1, 1, 2, 1, 2, 5, 1, 2, 1, 3, 3, 9, 1, 1, 1, 10, 4, 6, 1, 1, 1, 6, 1, 1, 1, 1, 1, 11, 2, 7, 1, 1, 1, 2, 2, 12, 1, 1, 2, 13, 2, 4, 1, 1, 1, 8, 3, 14, 1, 1, 1, 2, 2, 1, 1, 1, 1, 5, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Ordinal transform of A083254.

LINKS

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

PROG

(PARI)

up_to = 65537;

ordinal_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), pt); for(i=1, length(invec), if(mapisdefined(om, invec[i]), pt = mapget(om, invec[i]), pt = 0); outvec[i] = (1+pt); mapput(om, invec[i], (1+pt))); outvec; };

A083254(n) = (2*eulerphi(n)-n);

v331182 = ordinal_transform(vector(up_to, n, A083254(n)));

A331182(n) = v331182[n];

CROSSREFS

Cf. A000010, A083254.

Cf. also A081373, A331175, A331181.

Sequence in context: A086275 A066855 A175685 * A182591 A321393 A058914

Adjacent sequences:  A331179 A331180 A331181 * A331183 A331184 A331185

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 11 2020

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 June 20 17:43 EDT 2021. Contains 345199 sequences. (Running on oeis4.)