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!)
A158894 Sawtooth pattern of one, then two, then three, then four etc. consecutive odd numbers, starting each time at 3. 1

%I #11 Nov 21 2013 12:49:35

%S 3,3,5,3,5,7,3,5,7,9,3,5,7,9,11,3,5,7,9,11,13,3,5,7,9,11,13,15,3,5,7,

%T 9,11,13,15,17,3,5,7,9,11,13,15,17,19,3,5,7,9,11,13,15,17,19,21,3,5,7,

%U 9,11,13,15,17,19,21,23,3,5,7,9,11,13,15,17,19

%N Sawtooth pattern of one, then two, then three, then four etc. consecutive odd numbers, starting each time at 3.

%C Obtained from A158405 by deleting the 1's, or from A141620 by deleting the positive numbers and flipping all signs.

%F a(A000124(i))=3, i>=0. - _R. J. Mathar_, Apr 04 2009

%t sp[n_]:=Module[{cl=Range[3,51,2],l={}},Table[l=Join[l,Take[cl,i]], {i,n}];l ]; sp[15] (* _Harvey P. Dale_, Oct 30 2011 *)

%o (PARI) forstep(m=3,9,2,forstep(n=3,m,2,print1(n", "))) \\ _Charles R Greathouse IV_, Oct 30 2011

%K nonn,easy

%O 1,1

%A _Paul Curtz_, Mar 29 2009

%E Edited by _R. J. Mathar_, Apr 04 2009

%E Corrected by Harvey P. Dale, Oct 30 2011

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 09:17 EDT 2024. Contains 371935 sequences. (Running on oeis4.)