OFFSET
0,2
COMMENTS
Indexing begins from 0 because the term a(0) = 0 is a special case.
Sequence A324580 sorted into ascending order, with duplicate occurrences removed. The first such duplicate is 2250 = A324580(15) = 150*15 = A324580(18) = 125*18. The next is 5402250 = A324580(105) = A276086(105)*105 = A324580(125) = A276086(125)*125.
Terms after zero are the positions of nonzero terms in A324539.
LINKS
PROG
(PARI)
A276086(n) = { my(i=0, m=1, pr=1, nextpr); while((n>0), i=i+1; nextpr = prime(i)*pr; if((n%nextpr), m*=(prime(i)^((n%nextpr)/pr)); n-=(n%nextpr)); pr=nextpr); m; };
for(n=1, oo, if(A324539(n)>0, print1(n, ", "))); \\ Print terms after zero.
(PARI)
\\ This program is better for computing many terms:
search_limit = 9699690;
A324541list(lim) = { my(s=Set([]), k); for(n=1, lim, k=A324580(n); if(k<=lim, s = setunion([k], s))); Vec(s); };
v324541 = A324541list(search_limit);
A324541(n) = if(!n, n, v324541[n]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 10 2019
STATUS
approved