OFFSET
0,8
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 (2nd definition) is 14, so a(10)=14.
MATHEMATICA
Map[Total@ SequencePosition[Reverse@ #, {1, 0}][[All, 1]] &@ IntegerDigits[#, 2] &, {1}~Join~Table[LCM @@ Range@ n, {n, 67}]] (* Michael De Vlieger, Dec 16 2016, Version 10.1 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Indranil Ghosh, Dec 14 2016
STATUS
approved