OFFSET
0,4
COMMENTS
This calculates the major index (1st definition) of the LCM of all the numbers from 1 to n.
LINKS
Indranil Ghosh, Table of n, a(n) for n = 0..10000
Indranil Ghosh, Python Program to generate the sequence
EXAMPLE
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
KEYWORD
nonn,base
AUTHOR
Indranil Ghosh, Dec 31 2016
STATUS
approved