[go: up one dir, main page]

login
Revision History for A141805 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
#10 by Charles R Greathouse IV at Thu Sep 08 08:45:35 EDT 2022
PROG

(MAGMAMagma) m:=1853; a:=[]; a2:={}; for n in [1..m] do p:=1; u:= a2 join { x: x in a }; while p in u do p:=p+1; end while; if p gt m then break; end if; a2:=a2 join { x^3 + p^3: x in a | x^3 + p^3 le m }; Append(~a, p); end for; print a2;

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#9 by Bruno Berselli at Tue Sep 03 05:48:32 EDT 2013
STATUS

proposed

approved

#8 by Jean-François Alcover at Tue Sep 03 05:44:45 EDT 2013
STATUS

editing

proposed

#7 by Jean-François Alcover at Tue Sep 03 05:44:33 EDT 2013
MATHEMATICA

max = 2000; A031980 = {1}; Do[ m = Ceiling[(n - 1)^(1/3)]; s = Select[ A031980, # <= m &]; ls = Length[s]; sumOfCubes = Union[Flatten[ Table[s[[i]]^3 + s[[j]]^3, {i, 1, ls}, {j, i + 1, ls}]]]; If[FreeQ[sumOfCubes, n], AppendTo[ A031980, n] ], {n, 2, max}]; Complement[Range[max], A031980] (* Jean-François Alcover, Sep 03 2013 *)

STATUS

approved

editing

#6 by Russ Cox at Fri Mar 30 17:27:55 EDT 2012
AUTHOR

_Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), _, Jul 16 2008

Discussion
Fri Mar 30
17:27
OEIS Server: https://oeis.org/edit/global/145
#5 by Russ Cox at Sun Jul 10 18:22:03 EDT 2011
LINKS

<a href="/Sindx_index/Su.html#ssq">Index to sequences related to sums of squares and sums of cubes</a>

Discussion
Sun Jul 10
18:22
OEIS Server: https://oeis.org/edit/global/87
#4 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

Klaus Brockhaus, <a href="/A141805/b141805.txt">Table of n, a(n) for n = 1..24834</a>

<a href="/Sindx_Su.html#ssq">Index to sequences related to sums of squares and sums of cubes</a>

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Tue Jun 01 03:00:00 EDT 2010
LINKS

K. Klaus Brockhaus, <a href="b141805.txt">Table of n, a(n) for n = 1..24834</a>

KEYWORD

nonn,new

nonn

#2 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
LINKS

K. Brockhaus, <a href="http://www.research.att.com/~njas/sequences/b141805.txt">Table of n, a(n) for n = 1..24834</a>

<a href="http://www.research.att.com/~njas/sequences/Sindx_Su.html#ssq">Index to sequences related to sums of squares and sums of cubes</a>

KEYWORD

nonn,new

nonn

#1 by N. J. A. Sloane at Fri Jan 09 03:00:00 EST 2009
NAME

Complement of A031980.

DATA

9, 28, 35, 65, 72, 91, 126, 133, 152, 189, 217, 224, 243, 280, 341, 344, 351, 370, 407, 468, 513, 520, 539, 559, 576, 637, 728, 855, 1001, 1008, 1027, 1064, 1125, 1216, 1332, 1339, 1343, 1358, 1395, 1456, 1512, 1547, 1674, 1729, 1736, 1755, 1792, 1843, 1853

OFFSET

1,1

COMMENTS

Subsequence of A024670; A141806 gives the terms of A024670 that are not in this sequence.

Not a supersequence of A001235; 7094269 is the smallest number that is in A001235 but not in this sequence (see third example below), the next number is 11261376.

LINKS

K. Brockhaus, <a href="http://www.research.att.com/~njas/sequences/b141805.txt">Table of n, a(n) for n = 1..24834</a>

<a href="http://www.research.att.com/~njas/sequences/Sindx_Su.html#ssq">Index to sequences related to sums of squares and sums of cubes</a>

EXAMPLE

9 is the sum of two distinct nonzero cubes in exactly one way: 9 = 1^3 + 2^3. 9 is not in A031980 because 1 and 2 are earlier terms of A031980. Therefore 9 is a term of this sequence.

1729 is the sum of two distinct nonzero cubes in exactly two ways: 1729 = 9^3 + 10^3 = 1^3 + 12^3. 1729 is not in A031980 because 1 and 12 are earlier terms of A031980. Therefore 1729 is a term of this sequence.

7094269 is the sum of two distinct nonzero cubes in exactly two ways: 7094269 = 70^3 + 189^3 = 133^3 + 168^3. 7094269 is in A031980 because it not the sum of cubes of two earlier terms of A031980; in the first case 189 and in the second case 133 is not a term of A031980. Therefore 7094269 is not a term of this sequence.

PROG

(MAGMA) m:=1853; a:=[]; a2:={}; for n in [1..m] do p:=1; u:= a2 join { x: x in a }; while p in u do p:=p+1; end while; if p gt m then break; end if; a2:=a2 join { x^3 + p^3: x in a | x^3 + p^3 le m }; Append(~a, p); end for; print a2;

CROSSREFS

Cf. A141806, A031980 (smallest number not occurring earlier and not the sum of cubes of two distinct earlier terms), A024670 (sums of cubes of two distinct positive integers), A001235 (sums of two cubes in more than one way).

KEYWORD

nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jul 16 2008

STATUS

approved