login
Numbers which cannot be represented as a cube - nearest square (cube >= square).
1

%I #4 Mar 31 2012 12:38:26

%S 1,3,5,6,8,9,10,12,14,15,16,17,18,21,22,23,24,25,27,29,30,31,32,33,34,

%T 36,37,38,41,42,43,44,46,50,51,52,54,57,58,59,61,62,64,65,66,68,69,70,

%U 71,72,73,75,77,78,80,82,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98

%N Numbers which cannot be represented as a cube - nearest square (cube >= square).

%C Complement of A165288.

%t lst={}; Do[a=n^3-Floor[Sqrt[n^3]]^2; If[a<=508,AppendTo[lst,a]],{n,2*8!}]; lst=Take[Union@lst,90]; lst1={}; Do[AppendTo[lst1,n],{n,508}]; lst1; Complement[lst1,lst]

%Y Cf. A165288, A165289

%K nonn

%O 1,2

%A _Vladimir Joseph Stephan Orlovsky_, Sep 13 2009