login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Quadrisection a(4n+k) gives k-th differences of a for k=0..3 with a(n)=0 for n<3 and a(3)=1.
8

%I #20 Jun 16 2018 19:09:18

%S 0,0,0,1,0,0,1,-3,0,1,-2,3,1,-1,1,0,0,0,1,-6,0,1,-5,12,1,-4,7,-9,-3,3,

%T -2,-2,0,1,-4,12,1,-3,8,-15,-2,5,-7,7,3,-2,0,4,1,-2,4,-7,-1,2,-3,4,1,

%U -1,1,-1,0,0,0,1,0,0,1,-9,0,1,-8,21,1,-7,13,-18

%N Quadrisection a(4n+k) gives k-th differences of a for k=0..3 with a(n)=0 for n<3 and a(3)=1.

%H Alois P. Heinz, <a href="/A229654/b229654.txt">Table of n, a(n) for n = 0..65536</a>

%F a(4*n) = a(n),

%F a(4*n+1) = a(n+1) - a(n),

%F a(4*n+2) = a(n+2) - 2*a(n+1) + a(n),

%F a(4*n+3) = a(n+3) - 3*a(n+2) + 3*a(n+1) - a(n).

%p a:= proc(n) option remember; (m-> `if`(n<4, `if`(n=3, 1, 0), add(

%p a(q+m-j)*(-1)^j*binomial(m, j), j=0..m)))(irem(n, 4, 'q'))

%p end:

%p seq(a(n), n=0..100);

%t a[n_] := a[n] = Module[{ m, q}, {q, m} = QuotientRemainder[n, 4]; If[n < 4, If[n == 3, 1, 0], Sum[a[q + m - j]*(-1)^j*Binomial[m, j], {j, 0, m}]]];

%t Table[a[n], {n, 0, 100}] (* _Jean-François Alcover_, Jun 09 2018, from Maple *)

%Y Cf. A005590, A229653, A229655, A229656, A229657, A229658, A229659, A229660.

%K sign,eigen,look

%O 0,8

%A _Alois P. Heinz_, Sep 27 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 09:27 EDT 2024. Contains 376068 sequences. (Running on oeis4.)