OFFSET
1,1
COMMENTS
x is an element of this sequence if when m is the least natural number such that the least positive residue of x mod m! is no more than (m-2)!, floor(x/(m!)) and floor(x/(m*(m!))) are congruent to m-1 mod m, but floor(x/((m^2)*(m!))) is not. The sequence is made up of the residue classes 7 (mod 16); 50 and 104 (mod 162); 364, 366, 748, 750, 1132 and 1134 (mod 1536), etc. A set of such sequences with entries for each zeta(k) - 1 partitions the integers. See the linked paper for their construction.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
William J. Keith, Sequences of Density zeta(K) - 1, INTEGERS, Vol. 10 (2010), Article #A19, pp. 233-241. Also arXiv preprint, arXiv:0905.3765 [math.NT], 2009 and author's copy.
MATHEMATICA
f[n_] := Module[{k = n - 1, m = 2, r}, While[{k, r} = QuotientRemainder[k, m]; r != 0, m++]; IntegerExponent[k + 1, m] + 2]; Select[Range[700], f[#] == 4 &] (* Amiram Eldar, Feb 15 2021 after Kevin Ryde at A161189 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
William J. Keith, Jul 18 2008
STATUS
approved