|
|
A269984
|
|
Numbers k having factorial fractility A269982(k) = 2.
|
|
7
|
|
|
4, 5, 8, 9, 12, 14, 16, 18, 22, 23, 24, 26, 27, 32, 33, 37, 38, 39, 48, 49, 53, 54, 57, 58, 61, 64, 66, 78, 81, 83, 86, 87, 96, 97, 101, 107, 113, 114, 121, 129, 131, 139, 163, 169, 174, 178, 181, 193, 218, 227, 241, 257, 263, 267, 277, 302, 317, 327, 331
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
See A269982 for a definition of factorial fractility and a guide to related sequences.
|
|
LINKS
|
|
|
EXAMPLE
|
NI(1/5) = (2, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 1, 2, 3, 2, ...)
NI(2/5) = (2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, ...)
NI(3/5) = (1, 2, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 1, 2, 3, ...)
NI(4/5) = (1, 1, 2, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 1, 2, ...)
so there are 2 equivalences classes for n = 5, and the fractility of 5 is 2.
|
|
MATHEMATICA
|
A269982[n_] := CountDistinct[With[{l = NestWhileList[
Rescale[#, {1/(Floor[x] + 1)!, 1/Floor[x]!} /.
FindRoot[1/x! == #, {x, 1}]] &, #, UnsameQ, All]},
Min@l[[First@First@Position[l, Last@l] ;; ]]] & /@
Range[1/n, 1 - 1/n, 1/n]]; (* Davin Park, Nov 19 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|