OFFSET
1,2
COMMENTS
LINKS
Eric Chen, Table of n, a(n) for n = 1..1000
EXAMPLE
Values of phi_n(b) written in base b are #, 11, 111, 101, 11111, #1, 1111111, 10001, 1001001, #0#1, 11111111111, ##01, ..., where # represents b - 1.
MATHEMATICA
a252502[n_] := Array[Total@DigitCount[Cyclotomic[#, 10]] &, n]; a252502[72] (* Michael De Vlieger, Dec 21 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Chen, Dec 17 2014
STATUS
approved