Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A048927
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research