OFFSET
0,4
MATHEMATICA
a[n_] := Sum[ChebyshevU[k, (n - k)/2], {k, 0, n}]; Array[a, 27, 0] (* Amiram Eldar, Mar 08 2021 *)
PROG
(PARI) a(n) = sum(k=0, n, polchebyshev(k, 2, (n-k)/2));
(Python)
from fractions import Fraction
from sympy import chebyshevu
def A341576(n): return sum(chebyshevu(k, Fraction(n-k, 2)) for k in range(n+1)) # Chai Wah Wu, Nov 08 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 08 2021
STATUS
approved