A131914 3*A002024 - 2*A051340.
1, 4, 2, 7, 5, 3, 10, 8, 6, 4, 13, 11, 9, 7, 5, 16, 14, 12, 10, 8, 6, 19, 17, 15, 13, 11, 9, 7, 22, 20, 18, 16, 14, 12, 10, 8, 25, 23, 21, 19, 17, 15, 13, 11, 9, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10
Offset: 1
Examples
First few rows of the triangle: 1; 4, 2; 7, 5, 3; 10, 8, 6, 4; 13, 11, 9, 7, 5; 16, 14, 12, 10, 8, 6; 19, 17, 15, 13, 11, 9, 7; ...
Links
- Boris Putievskiy, Transformations [Of] Integer Sequences And Pairing Functions, arXiv preprint arXiv:1212.2732 [math.CO], 2012.
Formula
From Boris Putievskiy, Jan 24 2013: (Start)
For the general case
a(n) = m*(t+1) + (m-1)*(t*(t+1)/2-n), where t = floor((-1+sqrt(8*n-7))/2).
For m = 3,
a(n) = 3*(t+1) + 2*(t*(t+1)/2-n), where t = floor((-1+sqrt(8*n-7))/2). (End)
Comments