OFFSET
1,8
LINKS
A. Granville, On positive integers <= x with prime factors <= t log x, Number Theory and Applications (ed. R.A Mollin), (Kluwer, NATO ASI, 1989), 403-422.
FORMULA
MATHEMATICA
a[n_] := Select[Range[n], FactorInteger[#][[-1, 1]] <= Log[n]&] // Length;
a[1] = a[2] = 1;
a /@ Range[75] (* Jean-François Alcover, May 17 2020 *)
PROG
(PARI) a(n)=local(s, t); s=0; for(k=1, n, f=factor(k); t=0; for(l=1, matsize(f)[1], if(f[l, 1]>log(n), t=1; break)); s=s+!t); s
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Aug 03 2004
STATUS
approved