A272649 Compressed discriminator of the factorial numbers.
1, 2, 3, 7, 10, 13, 31, 37, 61, 83, 127, 179, 193, 277, 383, 479, 541, 641, 877, 1013, 1423, 2251, 2339, 2557, 2663, 3083, 3301, 5693, 6229, 9091, 9377, 17107, 25447, 31193, 39233, 40879, 46309, 61471, 72089, 81707, 86111, 91243, 116329, 136207, 149459, 163729
Offset: 1
Keywords
References
- Olivier Gérard, Posting to Sequence Fans Mailing List, May 08 2016.
Links
- Arnold, L. K.; Benkoski, S. J.; and McCabe, B. J.; The discriminator (a simple application of Bertrand's postulate). Amer. Math. Monthly 92 (1985), 275-277.
- Sajed Haque and Jeffrey Shallit, Discriminators and k-Regular Sequences, arXiv:1605.00092 [cs.DM], 2016.
Programs
-
Mathematica
R[n_, i_] := Union[Table[Mod[k!, i], {k, 1, n}]]; Reap[i0 = 1; Print[1]; Sow[1]; Do[Do[If[Length[R[n, i]] == n, If[i != i0, Print[i]; Sow[i]; i0 = i]; Goto[aa]], {i, 2, Max[n^2, 2]}]; Label[aa]; Continue, {n, 1, 10^4}] ][[2, 1]] (* Jean-François Alcover, Sep 14 2018, after Zhi-Wei Sun in A208494 *)
Extensions
a(32)-a(46) from Alois P. Heinz, May 11 2016
Comments