|
|
A060738
|
|
Number of distinct differences between consecutive divisors (ordered by increasing magnitude) of n! which are not also divisors of n!.
|
|
3
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 12, 51, 92, 225, 340, 573, 1325, 2334, 6024, 8724, 13130, 21601, 46169, 67213, 106427, 178014, 242104, 338499, 727248, 988029, 1924615, 2426894, 3592164, 5817845, 8360196, 10396523, 21941765, 33649653, 48804040, 61413482, 124029358
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,9
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n up to 7 all divisor differences of n! are also divisors of n!.
For n = 8, there are 3 divisor differences of 8! = 40320 which are not divisors of 8!, namely 27, 54 and 108.
|
|
MATHEMATICA
|
a[n_ ] := Length[Complement[Drop[d=Divisors[n! ], 1]-Drop[d, -1], d]]
|
|
PROG
|
(PARI) a(n) = {my(v = List(), f = n!, d1 = 1, del); fordiv(f, d, if(d > 1, del = d - d1; if(f % del, listput(v, del)); d1 = d)); #Set(v); } \\ Amiram Eldar, Jun 15 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|