cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A101158 Let j be the smallest integer for which n+(n+1)+...+(n+j) is a square; sequence gives the squares.

This page as a plain text file.
%I A101158 #21 May 02 2018 10:15:52
%S A101158 1,9,25,4,81,121,169,225,9,361,36,25,625,729,841,16,1089,100,1369,
%T A101158 1521,196,1849,2025,49,25,81,2809,3025,3249,3481,3721,324,4225,4489,
%U A101158 225,36,324,5625,484,81,6561,6889,225,7569,441,676,144,9025,49,9801
%N A101158 Let j be the smallest integer for which n+(n+1)+...+(n+j) is a square; sequence gives the squares.
%C A101158 Basis for sequence is shortest arithmetic sequence with initial term n and difference 1 that sums to a perfect square. Cf. A100251, A100252, A100253, A100254.
%H A101158 Shawn A. Broyles, <a href="/A101158/b101158.txt">Table of n, a(n) for n = 1..1000</a>
%F A101158 n+(n+1)+...+(n+A101160(n)) = n+(n+1)+...+A101159(n) = A101157(n)^2 = a(n).
%F A101158 a(n^2) = n^2. - _Michel Marcus_, Jun 28 2013
%e A101158 a(11)=36 since 11+12+13 = 36.
%Y A101158 Cf. A101157, A101159, A101160.
%K A101158 nonn
%O A101158 1,2
%A A101158 _Charlie Marion_, Dec 29 2004
%E A101158 a(21) corrected by _Michel Marcus_, Jun 29 2013