OFFSET
1,1
COMMENTS
Differs from A358817 by having the terms 99, 165, 166, ..., which are not in A358817, and not having the terms 1, 440, 1331, 1575, ..., which are in A358817.
If k is a term then k*(k+1) is a term of A362605.
The asymptotic density of this sequence is d(2) + Sum_{k>=2} (d(k) + d(k+1) - 2 * d2(k)) = 0.36939178586283962461..., where d(k) = Product_{p prime} (1 - 2/p^k) and d2(k) = Product_{p prime} (1 - 1/p^k - 1/p^(k+1)).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
emax[n_] := emax[n] = Max[FactorInteger[n][[;; , 2]]]; emax[1] = 0; Select[Range[200], emax[#] == emax[# + 1] &]
PROG
(PARI) emax(n) = if(n == 1, 0, vecmax(factor(n)[, 2]));
lista(kmax) = {my(e1 = 0, e2); for(k = 2, kmax, e2 = emax(k); if(e1 == e2, print1(k-1, ", ")); e1 = e2); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jan 12 2024
STATUS
approved