Number of (w,x,y,z) with all terms in {0,...,n} and w=max{w,x,y,z}-min{w,x,y,z}; i.e., the range of (w,x,y,z) is its first term.

A212744

Number of (w,x,y,z) with all terms in {0,...,n} and w=max{w,x,y,z}-min{w,x,y,z}; i.e., the range of (w,x,y,z) is its first term.

Terms

    a(0) =1a(1) =8a(2) =34a(3) =83a(4) =181a(5) =314a(6) =532a(7) =791a(8) =1177a(9) =1604a(10) =2206a(11) =2843a(12) =3709a(13) =4598a(14) =5776a(15) =6959a(16) =8497a(17) =10016a(18) =11962a(19) =13859a(20) =16261a(21) =18578a(22) =21484a(23) =24263a(24) =27721a(25) =31004a(26) =35062a(27) =38891a(28) =43597a(29) =48014

External references