A180089 Semiprimes which are the sum of three distinct positive cubes in two or more distinct ways.
1366, 1457, 1793, 1945, 3599, 4105, 5435, 7379, 8315, 9017, 10261, 10963, 11773, 12706, 13957, 15163, 15371, 15553, 15751, 15758, 16271, 17263, 17354, 17947, 18649, 19027, 19369, 19657, 19729, 19774, 19781, 19907, 21026, 21167, 22411
Offset: 1
Keywords
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
f[n_]:=Last/@FactorInteger[n]=={1,1}; lst={};Do[Do[Do[If[f[p=a^3+b^3+c^3],AppendTo[lst,p]],{c,b-1,1,-1}],{b,a-1,1,-1}],{a,55}];lst1=Sort@lst; lst={};Do[If[lst1[[n]]==lst1[[n+1]],AppendTo[lst,lst1[[n]]]],{n,Length[lst1]-1}];lst
Comments