OFFSET
1,1
COMMENTS
From Amiram Eldar, Sep 23 2024: (Start)
This sequence is infinite: For example, if k is even then (2*k+1)*27 is a term, and if k is odd then (2*k+1)*27-1 is a term.
The numbers of terms that do not exceed 10^k, for k = 2, 3, ..., are 2, 19, 187, 1868, 18686, 186851, 1868507, 18685075, 186850742, ... . Apparently, the asymptotic density of this sequence exists and equals 0.01868507... . (End)
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
135 = 5*3^3 and 135+1 = 136 = 17*2^3, therefore 135 is a term: a(3) = 135.
188 = 47*2^2 and 188+1 = 189 = 7*3^3, therefore 188 is a term: a(4) = 188.
MATHEMATICA
SequencePosition[Table[If[AnyTrue[FactorInteger[n], #[[2]]>=#[[1]]&], 1, 0], {n, 2500}], {1, 1}][[All, 1]] (* Harvey P. Dale, Sep 14 2019 *)
PROG
(PARI) is(n) = {my(f = factor(n)); for(i = 1, #f~, if(f[i, 1] <= f[i, 2], return(1))); 0; }
lista(kmax) = {my(is1 = 0, is2); for(k = 2, kmax, is2 = is(k); if(is1 && is2, print1(k-1, ", ")); is1 = is2); } \\ Amiram Eldar, Sep 23 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 07 2007
STATUS
approved