A338447 Sums of consecutive odd positive cubes.
1, 27, 28, 125, 152, 153, 343, 468, 495, 496, 729, 1072, 1197, 1224, 1225, 1331, 2060, 2197, 2403, 2528, 2555, 2556, 3375, 3528, 4257, 4600, 4725, 4752, 4753, 4913, 5572, 6859, 6903, 7632, 7975, 8100, 8127, 8128, 8288, 9261, 10485, 11772, 11816, 12167, 12545, 12888, 13013
Offset: 1
Keywords
Examples
495 is in the sequence because 495 = 3^3 + 5^3 + 7^3.
Links
Programs
-
PARI
lista(nn) = {my(list = List()); forstep (i=1, nn, 2, my(s = 0); forstep(j=i, 1, -2, s += j^3; if (s > nn^3, break); listput(list, s););); Set(list);} \\ Michel Marcus, Nov 13 2020