OFFSET
1,3
COMMENTS
All integers except 23 and 239, see Dickson reference. - Joerg Arndt, Jul 29 2012
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).
FORMULA
a(n) = n + 1 for n > 238. - Charles R Greathouse IV, Jun 20 2024
PROG
(PARI) a(n)=if(n<24, n-1, n<239, n, n+1) \\ Charles R Greathouse IV, Jun 20 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved