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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160053 Numbers n with property that n(n+1)/2 is sum of two nonnegative squares. 1
0, 1, 4, 8, 9, 16, 17, 25, 36, 40, 49, 52, 64, 72, 73, 80, 81, 89, 97, 100, 116, 121, 136, 144, 145, 148, 169, 180, 193, 196, 225, 232, 233, 241, 244, 256, 260, 288, 289, 292, 305, 313, 324, 337, 360, 361, 369, 388, 400, 404, 409, 424, 441, 449, 457, 481, 484 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

A000217(n) is term in A001481 and in A073613.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

(*M6*) A1 = {}; Do[If[SquaresR[2, n (n + 1)/2] > 0, AppendTo[A1, n]], {n, 0, 1500}]; A1

Join[{0}, Flatten[Position[Accumulate[Range[500]], _?(SquaresR[2, #]> 0&)]]] (* Harvey P. Dale, Jun 07 2015 *)

CROSSREFS

A000217 Triangular numbers. A000404 Numbers that are the sum of 2 nonzero squares. A001481 Numbers that are the sum of 2 nonnegative squares. A073613 Triangular numbers which are the sum of two nonnegative squares.

Sequence in context: A106840 A242663 A140612 * A225353 A034023 A086368

Adjacent sequences:  A160050 A160051 A160052 * A160054 A160055 A160056

KEYWORD

nonn

AUTHOR

Zak Seidov, May 01 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified November 20 12:22 EST 2017. Contains 294970 sequences.