A161983 Irregular triangle read by rows: the group of 2n + 1 integers starting at A014105(n).
0, 3, 4, 5, 10, 11, 12, 13, 14, 21, 22, 23, 24, 25, 26, 27, 36, 37, 38, 39, 40, 41, 42, 43, 44, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 136, 137
Offset: 0
Examples
Triangle begins: 0; 3, 4, 5; 10, 11, 12, 13, 14; 21, 22, 23, 24, 25, 26, 27; 36, 37, 38, 39, 40, 41, 42, 43, 44; 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65; 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90; ...
Links
- Michael Boardman, Proof Without Words: Pythagorean Runs, Math. Mag., 73 (2000), 59.
Crossrefs
Programs
-
Maple
seq(seq(2*n^2+2*n+k,k=-n..n),n=0..10); # Dennis P. Walsh, Aug 09 2013 seq(n+floor(sqrt(n))*(floor(sqrt(n))+1),n=0..100); # Dennis P. Walsh, Aug 09 2013
Formula
As a triangle, T(n,k) = 2n^2 + 2n + k where -n <= k <= n and n = 0,1,... - Dennis P. Walsh, Aug 09 2013
As sequence, a(n) = n + floor(sqrt(n))*(floor(sqrt(n)) + 1); equivalently, a(n) = n + A000196(n)*(A000196(n)+1). - Dennis P. Walsh, Aug 09 2013
Extensions
Definition clarified, 8th row terms corrected by R. J. Mathar, Jul 19 2009
Comments