login
Sums of consecutive odd positive cubes.
1

%I #17 Nov 26 2020 00:50:01

%S 1,27,28,125,152,153,343,468,495,496,729,1072,1197,1224,1225,1331,

%T 2060,2197,2403,2528,2555,2556,3375,3528,4257,4600,4725,4752,4753,

%U 4913,5572,6859,6903,7632,7975,8100,8127,8128,8288,9261,10485,11772,11816,12167,12545,12888,13013

%N Sums of consecutive odd positive cubes.

%H Chai Wah Wu, <a href="/A338447/b338447.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Su#ssq">Index entries for sequences related to sums of cubes</a>

%e 495 is in the sequence because 495 = 3^3 + 5^3 + 7^3.

%o (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

%Y Cf. A002593, A016755, A042965, A217843, A265845, A290276, A320728.

%K nonn

%O 1,2

%A _Ilya Gutkovskiy_, Oct 28 2020