A004830 Numbers that are the sum of at most 8 positive cubes.
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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
Offset: 1
Links
- T. D. Noe, Table of n, a(n) for n = 1..1000
- Leonard Eugene Dickson, All integers except 23 and 239 are sums of eight cubes, Bulletin of the American Mathematical Society, vol.45, pp.588-591, (1939).
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
- Index entries for sequences related to sums of cubes
Crossrefs
Cf. A004829.
Programs
-
PARI
a(n)=if(n<24,n-1, n<239,n, n+1) \\ Charles R Greathouse IV, Jun 20 2024
Formula
a(n) = n + 1 for n > 238. - Charles R Greathouse IV, Jun 20 2024
Comments