login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131507 2n+1 appears n+1 times. 11
1, 3, 3, 5, 5, 5, 7, 7, 7, 7, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 15, 15, 15, 15, 15, 15, 15, 15, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Sum of terms of row n is (n+1)*(2n+1) = A000384(n+1). - Michel Marcus, Feb 02 2014
Where records occur give A000217. - Omar E. Pol, Nov 05 2015
LINKS
FORMULA
a(n) = 2*floor(sqrt(2n+1)+1/2) - 1. - Ridouane Oudra, Oct 20 2019
EXAMPLE
As a triangle, the sequence starts:
1;
3, 3;
5, 5, 5;
7, 7, 7, 7;
9, 9, 9, 9, 9;
...
MAPLE
seq(2*floor(sqrt(2*n+1)+1/2)-1, n=0..70); # Ridouane Oudra, Oct 20 2019
MATHEMATICA
Table[2 n + 1, {n, 0, 11}, {n + 1}] // Flatten (* Michael De Vlieger, Nov 05 2015 *)
PROG
(Haskell)
a131507 n k = a131507_tabl !! n !! k
a131507_row n = a131507_tabl !! n
a131507_tabl = zipWith ($) (map replicate [1..]) [1, 3 ..]
a131507_list = concat a131507_tabl
-- Reinhard Zumkeller, Jul 12 2014, Mar 18 2011
(Chipmunk BASIC v3.6.4(b8)) # http://www.nicholson.com/rhn/basic/
for n=1 to 23 step 2
for j=1 to n step 2
print str$(n)+", ";
next j : next n : print
end
# Jeremy Gardiner, Feb 02 2014
CROSSREFS
Cf. A001650.
Sequence in context: A035158 A196172 A123313 * A203998 A257371 A075260
KEYWORD
nonn,tabl
AUTHOR
Paul Curtz, Aug 13 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:30 EDT 2024. Contains 371957 sequences. (Running on oeis4.)