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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101160 a(n) = the smallest integer j for which n+(n+1)+...+(n+j) is a square. 4
0, 2, 4, 0, 8, 10, 12, 14, 0, 18, 2, 1, 24, 26, 28, 0, 32, 4, 36, 38, 7, 42, 44, 1, 0, 2, 52, 54, 56, 58, 60, 8, 64, 66, 5, 0, 7, 74, 10, 1, 80, 82, 4, 86, 8, 12, 2, 94, 0, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Basis for sequence is shortest arithmetic sequence with initial term n and difference 1 that sums to a perfect square. Cf. A100251-A100254.

LINKS

Table of n, a(n) for n=1..50.

FORMULA

n+(n+1)+...+(n+A101160(n))=n+(n+1)+...+A101159(n)= A101157(n)^2=A101158(n)

EXAMPLE

a(11)=2 since j=2 is the smallest integer for which 11+...+11+j=6^2=36 is a perfect square

CROSSREFS

Cf. A101157-A101159.

Sequence in context: A011166 A181274 A115341 * A103191 A071607 A095059

Adjacent sequences:  A101157 A101158 A101159 * A101161 A101162 A101163

KEYWORD

nonn

AUTHOR

Charlie Marion, Dec 29 2004

STATUS

approved

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 May 19 04:51 EDT 2013. Contains 225428 sequences.