OFFSET
1,1
COMMENTS
MATHEMATICA
fd[1] = 0; fd[n_] := Plus @@ DigitCount[FactorInteger[n][[;; , 2]], 2, 1]; seq[m_] := Module[{s = Table[0, {m}], c = 0, n = 1, fd1, fd2}, fd1=fd[n]; While[c < m, fd2 = fd[++n]; If[fd1 == fd2 && fd1 <= m && s[[fd1]] == 0, s[[fd1]] = n-1; c++]; fd1=fd2]; s]; seq[5]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Apr 30 2021
STATUS
approved