OFFSET
0,2
COMMENTS
In essence the same as A167991. - R. J. Mathar, Mar 27 2017
EXAMPLE
1, 2,
3, 4, 4, 4,
5, 6, 6, 6, 6, 6,
7, 8, 8, 8, 8, 8, 8, 8,
9, 10, 10, 10, 10, 10, 10, 10, 10, 10,
... .
The row sum is A000466(n+1).
MATHEMATICA
Table[2 n + 2 - Boole[k == 1], {n, 0, 8}, {k, 2 n + 2}] // Flatten (* Michael De Vlieger, Mar 25 2017 *)
PROG
(PARI) for(n=0, 10, for(k=1, 2*n + 2, print1(2*n + 2 - (k==1), ", "); ); print(); ) \\ Indranil Ghosh, Mar 26 2017, translated from Mathematica code
(Python)
for n in range(0, 11):
print([2*n + 2 -(k==1) for k in range(1, 2*n + 3)])
# Indranil Ghosh, Mar 26 2017
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Paul Curtz, Mar 25 2017
STATUS
approved