|
|
A178808
|
|
a(n) = (1/n^2) * Sum_{k = 0..n-1} (2*k+1)*(D_k)^2, where D_0, D_1, ... are central Delannoy numbers given by A001850.
|
|
6
|
|
|
1, 7, 97, 1791, 38241, 892039, 22092673, 571387903, 15271248769, 418796912007, 11725812711009, 333962374092543, 9648543623050593, 282164539499639559, 8338391167566634497, 248661515283002490879, 7474768663941435203073
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
On Jun 14 2010, Zhi-Wei Sun conjectured that a(n) = (1/n^2) * Sum_{k = 0..n-1} (2*k+1)*(D_k)^2 is always an integer and that p^2*a(p) = p^2 - 4*p^3*q_p(2) - 2*p^4*q_p(2)^2 (mod p^5) for any prime p > 3, where q_p(2) denotes the Fermat quotient (2^(p-1) - 1)/p (see Sun, Remark 4.3, p. 26, 2014). He also conjectured that Sum_{k = 0..n-1} (2*k+1)*(-1)^k*(D_k)^2 == 0 (mod n*D_n/(3,D_n)) for all n = 1,2,3,....
The fact that a(n) is an integer follows directly from the formulas for a(n) in the formula section below. - Mark van Hoeij, Nov 13 2022
|
|
LINKS
|
|
|
FORMULA
|
G.f.: Integral(hypergeom([1/2, 1/2], [2], -32*x/(1 - 34*x + x^2))/((1 - x)*(1 - 34*x + x^2)^(1/2))). - Mark van Hoeij, Nov 10 2022
a(n) = (3*f(n)*f(n-1) - g(n))/4, where g(n) = hypergeom([n, -n, 1/2], [1, 1], -8) and f(n) = hypergeom([-n, -n], [1], 2). This formula also gives an integer value for n = 0. - Peter Luschny, Nov 13 2022
|
|
EXAMPLE
|
For n = 3 we have a(3) = (D_0^2 + 3*D_1^2 + 5*D_2^2)/3^2 = (1 + 3*3^2 + 5*13^2)/3^2 = 97.
|
|
MAPLE
|
# Alternative:
g := n -> hypergeom([n, -n, 1/2], [1, 1], -8): # A358388
f := n -> hypergeom([-n, -n], [1], 2): # A001850
a := n -> (3*f(n)*f(n-1) - g(n)) / 4:
|
|
MATHEMATICA
|
DD[n_]:=Sum[Binomial[n+k, 2k]Binomial[2k, k], {k, 0, n}]; SS[n_]:= Sum[(2k+1)*DD[k]^2, {k, 0, n-1}]/n^2; Table[SS[n], {n, 1, 25}]
Table[Sum[(2k+1)*JacobiP[k, 0, 0, 3]^2, {k, 0, n-1}]/n^2, {n, 1, 30}] (* G. C. Greubel, Jan 23 2019 *)
|
|
PROG
|
(Python) # prepends a(0) = 0
def A178808List(size: int) -> list[int]:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|