OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..212
Amiram Eldar, Table of n, a(n), A327527(a(n)) for n = 1..212
EXAMPLE
The sequence A327527 starts with 1, 2, 2, 3, 2, 4, 2, 4, 3, 4, 2, 5, ... . The record values, 1, 2, 3, 4 and 5, occur at indices 1, 2, 4, 6, 12, the first 5 terms of this sequence.
MATHEMATICA
d[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, 1 + Total[2^Accumulate[Count[e, #] & /@ Range[Max[e], 1, -1]] - 1]]; d[1] = 1;
v = Cases[Import["https://oeis.org/A025487/b025487.txt", "Table"], {_, _}][[;; , 2]];
seq = {}; dm = 0; Do[If[(dk = d[v[[k]]]) > dm, dm = dk; AppendTo[seq, v[[k]]]], {k, 1, Length[v]}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Dec 19 2023
STATUS
approved