|
|
A102730
|
|
Number of factorials contained in n! in binary representation.
|
|
13
|
|
|
1, 2, 3, 4, 5, 6, 5, 6, 7, 6, 7, 6, 7, 6, 6, 6, 7, 6, 6, 6, 7, 6, 7, 8, 6, 7, 6, 7, 6, 7, 7, 7, 8, 7, 7, 7, 6, 8, 7, 7, 7, 7, 7, 8, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 8, 7, 7, 8, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 8, 7, 7, 7, 7, 8, 7, 7, 8, 8, 7, 7, 7, 8, 8, 7, 8, 7, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Conjecture: the sequence is bounded.
For n>0: A103670(n) = smallest m such that a(m)=n;
A103671(n) = smallest m such that in binary representation n! doesn't contain m!;
A103672(n) = greatest m less than n such that in binary representation n! contains m!.
|
|
LINKS
|
|
|
EXAMPLE
|
n=6: 6!=720->'1011010000' contains a(6)=5 factorials: 0!=1->'1', 1!=1->'1', 2!=2->'10', 3!=6->'110' and 6! itself, but not 4!=24->'11000' and 5!=120->'1111000'.
|
|
PROG
|
(PARI) contains(v, u)=for(i=0, #v-#u, for(j=1, #u, if(v[i+j]!=u[j], next(2))); return(1)); 0
|
|
CROSSREFS
|
Cf. A036603, A007088, A000142, A011371, A093684, A103673, A103676, A103677, A103674, A103678, A103679, A103675, A103680, A103681.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|