|
Search: id:A048927
|
|
|
| A048927 |
|
Numbers that are the sum of 5 positive cubes in exactly 2 ways. |
|
+0 2
|
|
| 157, 220, 227, 246, 253, 260, 267, 279, 283, 286, 305, 316, 323, 342, 344, 361, 368, 377, 379, 384, 403, 410, 435, 440, 442, 468, 475, 487, 494, 501, 523, 530, 531, 549, 562, 568, 586, 592, 594, 595, 599, 602, 621, 625, 640, 647, 657, 658, 683, 703, 710
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.
|
|
PROGRAM
|
(Python: replace leading dots by blanks):
def ways (n, left=5, last=1):
. a=last; a3=a*a*a; c=0
. while a3<=n-left+1:
... if left>1:
..... c=c+ways(n-a3, left-1, a)
... elif a3==n:
..... c=c+1
... a=a+1; a3=a*a*a
. return c
for n in range (1, 1000):
. c=ways(n)
. if c==2:
... print n,
|
|
CROSSREFS
|
Cf. A003328, A048926.
Sequence in context: A096704 A140035 A007356 this_sequence A142063 A142231 A020356
Adjacent sequences: A048924 A048925 A048926 this_sequence A048928 A048929 A048930
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Eric Weisstein (eric(AT)weisstein.com)
|
|
EXTENSIONS
|
More terms from Walter Hofmann (walterh(AT)gmx.de), Jun 01 2000
|
|
|
Search completed in 0.002 seconds
|