OFFSET
0,5
LINKS
EXAMPLE
For n=24, which is "400" in primorial base (as 24 = 4*(3*2*1) + 0*(2*1) + 0*1, see A049345), the most significant digit is 4, thus a(24) = 4.
For n=210, which is "10000" in primorial base (as 210 = A002110(4) = 7*5*3*2*1), the most significant digit is 1, thus a(210) = 1.
For n=2100, which could be written "A0000" in primorial base (where A stands for digit "ten", as 2100 = 10*A002110(4)), the most significant value holder is thus 10 and a(2100) = 10. (The first point where this sequence attains a value larger than 9).
MATHEMATICA
nn = 120; Table[First@ IntegerDigits[n, MixedRadix[Reverse@ Prime@ Range@ PrimePi@ nn]], {n, 0, nn}] (* Michael De Vlieger, Aug 25 2016, Version 10.2 *)
PROG
CROSSREFS
Differs from A099563 for the first time at n=24.
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 22 2016
STATUS
approved