OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..5050
FORMULA
T(n,k) = A061925(n-1)+2k, 0<=k<n. - R. J. Mathar, Jul 17 2007, corrected Nov 02 2023
a(n) = A116941(n-1)+1. - Robert G. Wilson v, Mar 09 2017
EXAMPLE
As a triangular array:
1,
2, 4,
3, 5, 7,
6, 8, 10, 12,
9, 11, 13, 15, 17,
14, 16, 18, 20, 22, 24,
...
MAPLE
A074147 := proc(n, k)
ceil((n-1)^2/2)+1+2*k ;
end proc:
seq(seq( A074147(n, k), k=0..n-1) , n=1..12) ; # R. J. Mathar, Nov 02 2023
MATHEMATICA
Flatten@Table[Ceiling[(n - 1)^2/2] + 2 k - 1, {n, 12}, {k, n}] (* Ivan Neretin, Dec 15 2016 *)
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Aug 28 2002
STATUS
approved