A151557 Squares which are the sum of two or more consecutive squares.
25, 841, 4900, 5929, 8464, 11236, 19044, 20449, 24964, 28561, 33124, 38025, 60025, 64009, 75076, 127449, 148225, 170569, 184900, 193600, 245025, 281961, 422500, 425104, 429025, 461041, 524176, 620944, 632025, 970225, 1024144, 1044484, 1113025, 1283689
Offset: 1
Keywords
Examples
25 = 5^2 = 3^2 + 4^2 841 = 29^2 = 20^2 + 21^2 4900 is the sum of the first 24 squares.
Links
- Donovan Johnson, Table of n, a(n) for n = 1..5077 (terms < 10^15)
- Thomas Andrews, Sum of consecutive squares equal to a square
- K. S. Brown, Sum of Consecutive Nth Powers Equals an Nth Power
- Index entries for sequences related to sums of squares
Programs
-
Mathematica
(* First run the program for A097812 *) Union[A097812]^2 (* Alonso del Arte, Nov 19 2012 *)
Formula
a(n) = A097812(n)^2.