OFFSET
1,1
COMMENTS
Let D(k) = list of the distinct prime divisors of k in increasing order, and let C = [D(a(1)), D(a(2)), D(a(3)), ...]. The sequence is the lexicographically earliest sequence of integers > 1 which is equal to the partial sums of C.
We start with 2, since 1 has no prime divisors. If a(1)=2, a(2)=3 does not work. If a(1)=2 and a(2)=4, a(3)=5 does not work, but a(1)=2, a(2)=4, a(3)=6 gives C = [2, 2, 2, 3,...] with partial sums [2, 4, 6, 9, ...], and we can take a(4) = 9, and from this point on the sequence is uniquely determined by its existing terms.
Inspired by A389395, which is a similar sequence based on proper divisors.
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..10000
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 12 2025.
STATUS
approved
