OFFSET
1,2
COMMENTS
The sequence is a monoid since it contains 1 and is closed under multiplication, since if m and n are terms, then any prime dividing m or n must be less than log base 2 of m*n. Density: 27% of the numbers from 1 to 64 are terms. From 2^120 +1 to 2^120+64, 0% are terms. However, it is an infinite sequence, since 2^n is always a term, for n>2.
These numbers are analogous to numbers that are "sqrt(n-1)-smooth" (see A063539).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
EXAMPLE
40 = 2^3*5 is a term because 2 and 5 are both less than log_2(40).
63 = 9*7 is not a term since 7 is greater than log_2(63).
1 is vacuously a term since it has no prime factors.
MAPLE
a:= proc(n) option remember; local k; for k from 1+a(n-1) while {}<>
select(x-> is(x>=log[2](k)), numtheory[factorset](k)) do od; k
end: a(1):=1:
seq(a(n), n=1..100); # Alois P. Heinz, May 18 2018
MATHEMATICA
Join[{1}, Select[Range[300], FactorInteger[#][[-1, 1]]<Log2[#]&]] (* Harvey P. Dale, Sep 04 2018 *)
PROG
(PARI) isok(n) = my(f=factor(n)[, 1], z = log(n)/log(2)); #select(x->(x >= z), f) == 0; \\ Michel Marcus, Jun 01 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Richard Locke Peterson, May 16 2018
STATUS
approved