A307492 Numbers that are both centered square and square pyramidal.
1, 5, 42925, 1026745
Offset: 1
Links
- Eric Weisstein's World of Mathematics, Centered Square Number
- Eric Weisstein's World of Mathematics, Square Pyramidal Number
Programs
-
Mathematica
csQ[n_] := IntegerQ[Sqrt[2*n-1]]; Select[Table[n(n+1)(2n+1)/6, {n, 0, 1000}], csQ] (* Amiram Eldar, Apr 11 2019 *)
Comments