A122730 Primes that are the sum of 6 positive cubes.
13, 41, 53, 67, 79, 83, 97, 109, 137, 139, 151, 163, 173, 179, 191, 193, 199, 233, 241, 263, 271, 277, 313, 317, 331, 347, 359, 373, 383, 389, 397, 421, 433, 439, 443, 449, 457, 463, 467, 479, 499, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593
Offset: 1
Examples
a(1) = 13 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3. a(2) = 41 = 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 2^3 a(3) = 53 = 1^3 + 1^3 + 2^3 + 2^3 + 2^3 + 3^3. a(4) = 67 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
up = 900; q = Range[up^(1/3)]^3; a = {0}; Do[ b = Select[ Union@ Flatten@ Table[e + a, {e, q}], # <= up &]; a = b, {k, 6}]; Select[a, PrimeQ] (* Giovanni Resta, Jun 13 2016 *)
Extensions
a(13)-a(53) from Giovanni Resta, Jun 13 2016
Comments