Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A053611
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A053611 Numbers n such that 1 + 4 + 9 + ... + n^2 = 1 + 2 + 3 + ... + s for some s. +0
3
1, 5, 6, 85 (list; graph; listen)
OFFSET

1,2

COMMENT

These are the only possibilities for a sum of the first n squares to equal a triangular number.

REFERENCES

E. T. Avanesov, The Diophantine equation 3y(y+1) = x(x+1)(2x+1), Volz. Mat. Sb. Vyp., 8 (1971), 3-6.

R. Finkelstein and H. London, On triangular numbers which are sums of consecutive squares, J. Number Theory, 4 (1972), 455-462.

Joe Roberts, Lure of the Integers, page 245 (entry for 645).

EXAMPLE

1^2+2^2+3^2+4^2+5^2 = 1+2+3+...+10, so 5 is in the sequence.

MAPLE

istriangular:=proc(n) local t1; t1:=floor(sqrt(2*n)); if n = t1*(t1+1)/2 then RETURN(true) else RETURN(false); fi; end;

M:=1000; for n from 1 to M do if istriangular(n*(n+1)*(2*n+1)/6) then lprint(n, n*(n+1)*(2*n+1)/6); fi; od: (Maple program from N. J. A. Sloane (njas(AT)research.att.com))

CROSSREFS

Cf. A039596 (values of s), A053612.

Sequence in context: A111504 A041057 A041058 this_sequence A041139 A065354 A078984

Adjacent sequences: A053608 A053609 A053610 this_sequence A053612 A053613 A053614

KEYWORD

fini,full,nonn,bref

AUTHOR

Jud McCranie (j.mccranie(AT)comcast.net), Mar 19 2000

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), May 25 2008

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 December 5 23:38 EST 2009. Contains 170428 sequences.


AT&T Labs Research