|
|
A277674
|
|
a(n) = d(n+1) - d(n), where d(k) is the number of digits in the base-k representation of k!.
|
|
3
|
|
|
0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2
|
|
LINKS
|
|
|
EXAMPLE
|
k base-k representation of k!
= ===========================
2 10_2
3 20_3
4 120_4
5 440_5
6 3200_6
7 20460_7
8 116600_8
9 612700_9
a(8) = 0 because d(9) = d(8).
|
|
MATHEMATICA
|
d = Differences@Array[Floor@Log[#, #!] &, 10000, 2]; (* Robert G. Wilson v, Oct 27 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|