Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A002828
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A002828 Least number of squares that add up to n.
(Formerly M0404 N0155)
+0
14
1, 2, 3, 1, 2, 3, 4, 2, 1, 2, 3, 3, 2, 3, 4, 1, 2, 2, 3, 2, 3, 3, 4, 3, 1, 2, 3, 4, 2, 3, 4, 2, 3, 2, 3, 1, 2, 3, 4, 2, 2, 3, 3, 3, 2, 3, 4, 3, 1, 2, 3, 2, 2, 3, 4, 3, 3, 2, 3, 4, 2, 3, 4, 1, 2, 3, 3, 2, 3, 3, 4, 2, 2, 2, 3, 3, 3, 3, 4, 2, 1, 2, 3, 3, 2, 3, 4, 3, 2, 2, 3, 4, 3, 3, 4, 3, 2, 2, 3, 1, 2, 3, 4, 2, 3 (list; graph; listen)
OFFSET

1,2

COMMENT

By the "Four Squares theorem", a(n) <= 4.

It is easy to show that this is also the least number of squares that add up to n^3.

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

CROSSREFS

Cf. A000290, A000415, A000419, A004215.

Cf. A000378, A001481.

Adjacent sequences: A002825 A002826 A002827 this_sequence A002829 A002830 A002831

Sequence in context: A065365 A096137 A063274 this_sequence A098066 A096436 A053610

KEYWORD

nonn,nice

AUTHOR

njas

EXTENSIONS

More terms from Arlin Anderson (starship1(AT)gmail.com)

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 October 13 02:37 EDT 2008. Contains 145008 sequences.


AT&T Labs Research