A122728 Primes that are the sum of 4 positive cubes.
11, 37, 67, 89, 107, 137, 149, 163, 191, 193, 233, 271, 317, 353, 367, 379, 383, 409, 439, 461, 467, 479, 503, 523, 541, 587, 593, 601, 613, 631, 641, 653, 691, 709, 739, 751, 773, 809, 821, 839, 857, 863, 883, 887, 919, 929, 947, 971, 983, 991, 1033, 1069
Offset: 1
Examples
a(1) = 11 = 1^3 + 1^3 + 1^3 + 2^3. a(2) = 37 = 1^3 + 1^3 + 2^3 + 3^3. a(3) = 67 = 1^3 + 1^3 + 1^3 + 4^3.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
mx = 1000; lim = Floor[(mx - 3)^(1/3)]; Select[Union[Total /@ Tuples[Range[lim]^3, {4}]], # <= mx && PrimeQ[#] &] (* Harvey P. Dale, May 25 2011 *)
Extensions
More terms from Harvey P. Dale, May 25 2011
Comments