1,11

a(n) = Major index (2nd definition) of the total numbers <=n and prime to n i.e., phi(n).

Indranil Ghosh, Table of n, a(n) for n = 1..10000

Indranil Ghosh, Python Program to generate the sequence

a(n) = A049502(A000010(n)).

For n = 11, phi(n) = 10 and major index (2nd definition) of 10 = 2. So a(n) = 2.

Cf. A000010, A049502, A279519, A280062, A280726.

Sequence in context: A091398 A062103 A112314 * A104261 A028702 A083929

Adjacent sequences: A280796 A280797 A280798 * A280800 A280801 A280802

nonn

Indranil Ghosh, Jan 08 2017

approved