|
|
A060742
|
|
Number of divisors of n! which are also differences between consecutive divisors of n! (ordered by size).
|
|
6
|
|
|
0, 0, 1, 2, 4, 9, 15, 27, 41, 68, 111, 218, 328, 624, 929, 1518, 2016, 3689, 4965, 9252, 13177, 20016, 30697, 56749, 69434, 94242, 149558, 190292, 258370, 492924, 615063, 1149403, 1325124, 1841343, 2737190, 3592273
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
EXAMPLE
|
For n=5, n!=120; divisors={1,2,3,4,5,6,8,10,12,15,20,24,30,40,60,120}; differences={1,1,1,1,1,2,2,2,3,5,4,6,10,20,60}; intersection={1,2,3,4,5,6,10,20,60}, so a(5)=9.
|
|
MAPLE
|
f:= proc(n) local D, L;
D:= numtheory:-divisors(n!);
L:= sort(convert(D, list));
nops(convert(L[2..-1]-L[1..-2], set) intersect D);
end proc:
|
|
MATHEMATICA
|
a[n_ ] := Length[Intersection[Drop[d=Divisors[n! ], 1]-Drop[d, -1], d]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|