cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A280799 a(n) = A049502(phi(n)).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 3, 0, 3, 0, 2, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 2, 0, 0, 4, 0, 6, 3, 0, 3, 4, 0, 6, 3, 0, 0, 3, 2, 4, 0, 3, 0, 2, 0, 0, 0, 3, 0, 0, 3, 2, 0, 4, 0, 3, 0, 4, 3, 4, 3, 0, 0, 4, 0, 3, 4, 7, 0, 0, 6, 0, 4, 5, 0, 4, 4, 0, 4, 4, 0, 0, 6, 0, 4, 3, 0, 3, 0, 0, 3, 6, 3, 4
Offset: 1

Views

Author

Indranil Ghosh, Jan 08 2017

Keywords

Comments

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

Examples

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

Crossrefs

Formula

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

A280306 a(n) = A049501(A003418(n)).

Original entry on oeis.org

0, 0, 1, 2, 2, 4, 4, 13, 13, 16, 16, 28, 28, 46, 46, 46, 46, 77, 77, 48, 48, 48, 48, 117, 117, 141, 141, 134, 134, 213, 213, 326, 326, 326, 326, 326, 326, 352, 352, 352, 352, 389, 389, 413, 413, 413, 413, 508, 508
Offset: 0

Views

Author

Indranil Ghosh, Dec 31 2016

Keywords

Comments

This calculates the major index (1st definition) of the LCM of all the numbers from 1 to n.

Examples

			For n=10, the LCM of all the numbers from 1 to 10 is 2520 = 100111011000_2, whose major index (1st definition) is 16, so a(10)=16.
		

Crossrefs

Showing 1-2 of 2 results.