login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127689 a(1)=3; for n>1, a(n) is least number such that a(1)^2+...+a(n)^2 is a square. 1
3, 4, 12, 84, 132, 12324, 15960, 26280, 27300, 66660, 115188 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

a(2)=4 because 3^2+4^2=5^2, a(3)=12 because 3^2+4^2+12^2=13^2 etc.

MATHEMATICA

a = {3}; For[k = 1 + a[[Length[a]]], Length[a] < 11, While[ ! IntegerQ[Sqrt[(k)^2 + Sum[(a[[t]])^2, {t, 1, Length[a]}]]], k++ ]; AppendTo[a, k]]; a

CROSSREFS

Cf. A018930, A127690, A127691.

Sequence in context: A122903 A059792 A018930 * A127690 A092417 A071543

Adjacent sequences:  A127686 A127687 A127688 * A127690 A127691 A127692

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Jan 23 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 18 00:14 EST 2012. Contains 206085 sequences.