OFFSET
1,2
COMMENTS
Conjecture: This is a permutation of the positive integers. [The conjecture is true, see A309364. - Rémy Sigrist, Jul 25 2019]
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A309200
MAPLE
with(numtheory);
# the general transformation
f := proc(b) local t1, d, j, dlis, L, hit, i, n, a, n1;
if whattype(b) <> list then RETURN([]); fi;
n1:=nops(b); a:=[]; L:=10000;
hit:=Array(0..L, 0);
for n from 1 to n1 do
t1:=b[n];
dlis:=sort(convert(divisors(t1), list));
for j from 1 to nops(dlis) do d:=dlis[j];
if d > L then error("d too large", n, t1, d); fi;
if hit[d]=0 then break; fi; od:
a:=[op(a), d];
hit[d]:=1; od;
[seq(a[i], i=1..nops(a))];
end;
# the Catalan numbers
C:=[seq(binomial(2*n, n)/(n+1), n=1..40)];
f(C);
PROG
(PARI) \\ See Links section.
(Sage)
def transform(sup, fun):
A = []
for n in (1..sup):
D = divisors(fun(n))
A.append(next(d for d in D if d not in A))
return A
A309200list = lambda lim: transform(lim, catalan_number)
print(A309200list(29)) # Peter Luschny, Jul 26 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 25 2019
EXTENSIONS
More terms from Rémy Sigrist, Jul 25 2019
STATUS
approved