OFFSET
1,2
COMMENTS
See the reference in the Links section, page 1747, Question. Is GCD(C(2*n, n), 105) = 1 for infinitely many positive integers n ? (is a(n) = 1 for infinitely many n >= 1 ?).
LINKS
Daniel Berend and Jørgen E. Harmse, On polynomial-factorial diophantine equations, Transactions of the American Mathematical Society, Volume 358, Issue 4 (2006), pages 1741-1779.
EXAMPLE
n = 3: a(3) = GCD(6!/(3!)^2, 105) = 5.
MATHEMATICA
a[n_] := GCD[Binomial[2*n, n], 105]; Array[a, 70] (* Amiram Eldar, Dec 23 2024 *)
PROG
(Python)
from math import prod
from sympy.ntheory.factor_ import digits
def A379507(n): return prod(p if (sum(digits(n, p)[1:])<<1)>sum(digits(n<<1, p)[1:]) else 1 for p in (3, 5, 7)) # Chai Wah Wu, May 07 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Ctibor O. Zizka, Dec 23 2024
STATUS
approved
