OFFSET
1,1
COMMENTS
There are an infinite number of numbers that are not the sum of three octagonal numbers.
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, D3.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
R. K. Guy, Every number is expressible as the sum of how many polygonal numbers?, Amer. Math. Monthly 101 (1994), 169-172.
MATHEMATICA
nn = 100; oct = Table[n*(3*n-2), {n, 0, nn}]; t = Table[0, {oct[[-1]]}]; Do[n = oct[[i]] + oct[[j]] + oct[[k]]; If[n <= oct[[-1]], t[[n]] = 1], {i, nn}, {j, i, nn}, {k, j, nn}]; Flatten[Position[t, 0]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jul 16 2012
STATUS
approved