Let j be the smallest integer for which n+(n+1)+...+(n+j) is a square, say k^2; then a(n)=k.

A101157

Let j be the smallest integer for which n+(n+1)+...+(n+j) is a square, say k^2; then a(n)=k.

Terms

    a(0) =1a(1) =3a(2) =5a(3) =2a(4) =9a(5) =11a(6) =13a(7) =15a(8) =3a(9) =19a(10) =6a(11) =5a(12) =25a(13) =27a(14) =29a(15) =4a(16) =33a(17) =10a(18) =37a(19) =39a(20) =14a(21) =43a(22) =45a(23) =7a(24) =5a(25) =9a(26) =53a(27) =55a(28) =57a(29) =59

External references