OFFSET
1,1
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..2260
Rémy Sigrist, Colored logarithmic scatterplot of the first 2260 terms (where the color is function of the number of distinct prime factors of A293780(n))
MATHEMATICA
Block[{s = {1}~Join~Array[Times @@ FactorInteger[#][[All, 1]] &, 10^4, 2], t}, t = 1 + Array[Count[Take[s, # - 1], s[[#]]] &, Length@ s]; Differences@ Map[FirstPosition[t, #][[1]] &, Union@ FoldList[Max, t]]] (* Michael De Vlieger, Oct 30 2017 *)
PROG
(PARI) lista(nn) = {nbm = 0; lastn = 0; v = vector(nn, k, factor(k)[, 1]); for (n=1, nn, vn = vector(n, k, v[k]); nbn = #select(x->(x==v[n]), vn); if (nbn > nbm, if (nbm, print1(n-lastn, ", ")); nbm = nbn; lastn = n; ); ); } \\ Michel Marcus, Oct 31 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
David A. Corneth, Oct 19 2017
STATUS
approved