login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099966 Sequence of the next-to-last entries in the rows of A099964. 2
1, 1, 3, 6, 14, 39, 109, 313, 900, 2943, 10403, 36195, 127474, 447352, 1711141, 7234223, 29672119, 123515469, 511672779, 2123410053, 9349845765, 45883313142, 216991244323, 1041956760633, 4977352149113, 23819499579914 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

MAPLE

with(linalg):rev:=proc(a) local n, p; n:=vectdim(a): p:=i->a[n+1-i]: vector(n, p) end: ps:=proc(a) local n, q; n:=vectdim(a): q:=i->sum(a[j], j=1..i): vector(n, q) end: pss:=proc(a) local n, q; n:=vectdim(a): q:=proc(i) if i<=n then sum(a[j], j=1..i) else sum(a[j], j=1..n) fi end: vector(n+1, q) end: tr:={seq(n*(n+1)/2, n=1..30)}: R[0]:=vector(1, 1): for n from 1 to 30 do if member(n, tr)=false then R[n]:=ps(rev(R[n-1])) else R[n]:=pss(rev(R[n-1])) fi od: seq(R[n][vectdim(R[n])-1], n=1..30); (Deutsch)

CROSSREFS

Cf. A099964, A099965.

Sequence in context: A100446 A106395 A079003 * A101162 A059741 A054099

Adjacent sequences:  A099963 A099964 A099965 * A099967 A099968 A099969

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Nov 13 2004, following a suggestion made by Douglas G. Rogers, Mar 10, 2003

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 16 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 21:56 EST 2012. Contains 205860 sequences.