OFFSET
1,2
COMMENTS
Differs from A047318 = numbers not congruent to 3 modulo 7: for example, A047318(26) = 29 is not in this sequence. - M. F. Hasler, Jun 30 2025
REFERENCES
Elena Deza and Michel Marie Deza, Figurate numbers, World Scientific Publishing (2012), page 307.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
Eric Weisstein's World of Mathematics, Cubic Number.
FORMULA
A025456(a(n)) = 0. - Reinhard Zumkeller, Apr 23 2009
EXAMPLE
3 = 1^3 + 1^3 + 1^3, therefore 3 is not in this sequence. Similarly,
10 = 1^3 + 1^3 + 2^3, therefore 10 is not in this sequence.
MATHEMATICA
Select[Range[100], Count[ PowersRepresentations[#, 3, 3], pr_List /; FreeQ[pr, 0]] == 0 &] (* Jean-François Alcover, Oct 31 2012 *)
PROG
(PARI) select( {is_A057904(n)=n<3 || !for(c=sqrtnint(n\/3, 3), sqrtnint(n-2, 3), isA003325(n-c^3)&&return)}, [1..99]) \\ M. F. Hasler, Jun 30 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
