A080393 a(n) is the smallest integer such that A080383(a(n)) = n.
0, 1, 2, 3, 40, 5, 12, 25, 1122, 13, 420, 1103, 12324, 421, 4960, 11289, 232582, 4961, 16356, 107073
Offset: 1
Examples
a(10)=13 because in A080383 10 appears first as the 13th term.
Programs
-
Mathematica
f[x_] := Count[Table[IntegerQ[Binomial[x, Floor[x/2]]/ Binomial[x, j]], {j, 0, n}], True]; t=Table[0, {20}]; Do[s=f[n]; If[s<21&&t[[s]]==0, t[[s]]=n], {n, 1, 1300}]; t
-
PARI
f(n) = my(b=binomial(n, n\2)); sum(i=0, n, (b % binomial(n, i)) == 0); \\ A080383 a(n) = my(k=0); while(f(k) != n, k++); k; \\ Michel Marcus, Aug 23 2019
Extensions
a(13)-a(16) from Michel Marcus, Aug 23 2019
a(17) from Jon E. Schoenfield, Sep 15 2019
a(18) from Michel Marcus, Aug 23 2019
a(19) from Vaclav Kotesovec, Sep 10 2019
a(20) from Jon E. Schoenfield, Sep 15 2019
Comments