Difference between the closest square and the closest cube to n.

A061023

Difference between the closest square and the closest cube to n.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =3a(4) =3a(5) =4a(6) =4a(7) =1a(8) =1a(9) =1a(10) =1a(11) =1a(12) =1a(13) =8a(14) =8a(15) =8a(16) =8a(17) =8a(18) =11a(19) =11a(20) =11a(21) =2a(22) =2a(23) =2a(24) =2a(25) =2a(26) =2a(27) =2a(28) =2a(29) =2

External references