Number of quadruples (w,x,y,z) with all terms in {0,...,n} such that w-x, x-y, and y-z all have the same parity.

A212893

Number of quadruples (w,x,y,z) with all terms in {0,...,n} such that w-x, x-y, and y-z all have the same parity.

Terms

    a(0) =1a(1) =4a(2) =25a(3) =64a(4) =169a(5) =324a(6) =625a(7) =1024a(8) =1681a(9) =2500a(10) =3721a(11) =5184a(12) =7225a(13) =9604a(14) =12769a(15) =16384a(16) =21025a(17) =26244a(18) =32761a(19) =40000a(20) =48841a(21) =58564a(22) =70225a(23) =82944a(24) =97969a(25) =114244a(26) =133225a(27) =153664a(28) =177241a(29) =202500

External references