OFFSET
1,1
LINKS
J. M. De Koninck and V. Ouellet, On the n-th element of a set of positive integers, Annales Univ. Sci. Budapest Sect. Comput. 44 (2015), 153-164. See 3. on p. 162.
MATHEMATICA
f[n_]:=Floor[n/Exp[Sqrt[Log[n]]]]; Select[Range[2, 1000], f[#] - f[# - 1]==1 &] (* Indranil Ghosh, Jul 28 2017 *)
PROG
(PARI) f(n) = floor(n/exp(sqrt(log(n))));
isok(n) = f(n) - f(n-1) == 1;
(Python)
from sympy import floor, exp, sqrt, log
def f(n): return floor(n/exp(sqrt(log(n))))
print([n for n in range(2, 1001) if f(n) - f(n - 1) == 1]) # Indranil Ghosh, Jul 28 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jul 28 2017
STATUS
approved