login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A161205
Triangle read by rows in which row n lists 2n-1 followed by 2n numbers 2n.
15
1, 2, 2, 3, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 16, 16, 16, 16, 16, 16
OFFSET
1,2
COMMENTS
Row sums: A125202(n+1). - R. J. Mathar, Feb 16 2010
FORMULA
If n is a perfect square, then a(n) = 2*sqrt(n)-1; otherwise a(n) = 2*floor(sqrt(n)). - Nathaniel Johnston, May 06 2011
a(n) = A000196(n-1) + A000196(n) = floor(sqrt(n-1)) + floor(sqrt(n)). - Ridouane Oudra, Jun 07 2019
EXAMPLE
Triangle begins:
1, 2, 2;
3, 4, 4, 4, 4;
5, 6, 6, 6, 6, 6, 6;
7, 8, 8, 8, 8, 8, 8, 8, 8;
9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10;
MAPLE
A161205 := proc(n, k) if k=1 then 2*n-1; else 2*n; end if; end proc: seq(seq(A161205(n, k), k=1..2*n+1), n=1..12) ; # R. J. Mathar, Feb 16 2010
KEYWORD
easy,nonn,tabf
AUTHOR
Omar E. Pol, Jun 19 2009
EXTENSIONS
More terms from R. J. Mathar, Feb 16 2010
STATUS
approved