login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers that are the sum of at most 8 positive cubes.
3

%I #18 Jun 20 2024 10:31:13

%S 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,24,25,26,

%T 27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,

%U 50,51,52,53,54,55,56,57,58

%N Numbers that are the sum of at most 8 positive cubes.

%C All integers except 23 and 239, see Dickson reference. - _Joerg Arndt_, Jul 29 2012

%H T. D. Noe, <a href="/A004830/b004830.txt">Table of n, a(n) for n = 1..1000</a>

%H Leonard Eugene Dickson, <a href="http://www.ams.org/bull/1939-45-08/S0002-9904-1939-07041-9/">All integers except 23 and 239 are sums of eight cubes</a>, Bulletin of the American Mathematical Society, vol.45, pp.588-591, (1939).

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1).

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

%F a(n) = n + 1 for n > 238. - _Charles R Greathouse IV_, Jun 20 2024

%o (PARI) a(n)=if(n<24,n-1, n<239,n, n+1) \\ _Charles R Greathouse IV_, Jun 20 2024

%Y Cf. A004829.

%K nonn,easy

%O 1,3

%A _N. J. A. Sloane_