login
A038857
Numbers ending with '2' that are the difference of two positive cubes.
0
152, 342, 602, 702, 992, 1352, 1512, 2072, 2232, 2402, 3032, 3582, 3752, 4032, 4662, 4832, 4912, 5402, 6272, 6552, 6832, 7352, 7992, 8532, 8792, 9602, 10422, 10432, 10712, 12042, 12152, 12222, 13312, 13952, 14832, 15002, 15192, 15282, 16352, 17352, 17512, 18152
OFFSET
0,1
MATHEMATICA
With[{upto=17000}, Select[Select[Union[#[[2]]-#[[1]]&/@Subsets[ Range[ 2*Ceiling[Surd[upto, 3]]]^3, {2}]], Mod[#, 10]==2&], #<=upto&]] (* Harvey P. Dale, Aug 30 2016 *)
CROSSREFS
Sequence in context: A253360 A252363 A248816 * A137632 A259740 A253359
KEYWORD
nonn,base
AUTHOR
STATUS
approved