OFFSET
1,1
LINKS
Thomas Bloom, Problem 396
PROG
(PARI) for(n=1, 20, for(k=n+1, 100000, if(binomial(2*k, k)%prod(i=0, n, k-i)==0, print(n, " ", k); break)))
(Python)
from math import prod, comb
def A375077(n):
a, c, k = prod(n+1-i for i in range(n+1)), comb(n+1<<1, n+1), n+1
while c%a:
k += 1
a = a*k//(k-n-1)
c = c*((k<<1)-1<<1)//k
return k # Chai Wah Wu, Jul 30 2024
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Ralf Stephan, Jul 29 2024
EXTENSIONS
a(5) from Chai Wah Wu, Aug 01 2024
STATUS
approved