We have a sequence which generalize A329369:
a(2n+1,p,q)=a(n,p,q),a(2n,p,q)=pa(n,p,q)+qa(n−2f(n),p,q)+a(2n−2f(n),p,q),a(0,p,q)=1
where f(n) is A007814, exponent of highest power of 2 dividing n, a.k.a. the binary carry sequence, the ruler sequence, or the 2-adic valuation of n. Then
a((4n−1)/3,2,q)=a((4n−1)/3,q,2)=k=0∑n(q−1)n−kT(n,k)
where T(n,k) is A087736, n⩾0, q∈R. Also
T(n,k)=[0,1,3,6,10,15,21,⋯]DELTA[1,3,6,10,15,21,28,⋯]
Here DELTA defined as follows:
The operator DELTA takes two sequences r=(r0,r1,⋯), s=(s0,s1,⋯) and produces a triangle T(n,k), 0⩽k⩽n, as follows:
Let q(k)=x⋅rk+y⋅sk for k⩾0; let P(n,k) (n⩾0,k⩾−1) be defined recursively by P(0,k)=1 for k⩾0; P(n,−1)=0 for n⩾1; P(n,k)=P(n,k−1)+q(k)P(n−1,k+1) for n⩾1,k⩾0.