login
A158894
Sawtooth pattern of one, then two, then three, then four etc. consecutive odd numbers, starting each time at 3.
1
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, 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, 9, 11, 13, 15, 17, 19, 21, 23, 3, 5, 7, 9, 11, 13, 15, 17, 19
OFFSET
1,1
COMMENTS
Obtained from A158405 by deleting the 1's, or from A141620 by deleting the positive numbers and flipping all signs.
FORMULA
a(A000124(i))=3, i>=0. - R. J. Mathar, Apr 04 2009
MATHEMATICA
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 *)
PROG
(PARI) forstep(m=3, 9, 2, forstep(n=3, m, 2, print1(n", "))) \\ Charles R Greathouse IV, Oct 30 2011
CROSSREFS
Sequence in context: A267518 A101772 A233793 * A352445 A131919 A185154
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Mar 29 2009
EXTENSIONS
Edited by R. J. Mathar, Apr 04 2009
Corrected by Harvey P. Dale, Oct 30 2011
STATUS
approved