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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097367 Fibonacci regression array: For n>=2 and 1<=k<=n-1, T(n,k) is the last term before the first nonpositive term in the sequence n, k, n-k, 2k-n, 2n-3k, 5k-3n, ... 2
1, 2, 1, 3, 2, 2, 4, 3, 1, 3, 5, 4, 3, 2, 4, 6, 5, 4, 2, 3, 5, 7, 6, 5, 4, 1, 4, 6, 8, 7, 6, 5, 3, 3, 5, 7, 9, 8, 7, 6, 5, 2, 4, 6, 8, 10, 9, 8, 7, 6, 4, 2, 5, 7, 9, 11, 10, 9, 8, 7, 6, 3, 4, 6, 8, 10, 12, 11, 10, 9, 8, 7, 5, 1, 5, 7, 9, 11, 13, 12, 11, 10, 9, 8, 7, 4, 3, 6, 8, 10, 12, 14, 13, 12, 11 (list; table; graph; refs; listen; history; internal format)
OFFSET

1,2

FORMULA

For n > k >= 1, define d(1)=n, d(2)=k, d(j) = d(j-2) - d(j-1) for j >= 3. Then d(j) = F(j-2)*n - F(j-1)*k for odd j>=1 and d(j) = F(j-1)*k - F(j-2)*n for even j>=2, where F(h)=A000045(h) = h-th Fibonacci number. The sequence d is the aforementioned sequence n, k, n-k, 2k-n, 2n-3k, 5k-3n, ...

EXAMPLE

Rows 2,3,4,5,6:

1

2 1

3 2 2

4 3 1 3

5 4 3 2 4

T(8,5)=1, last term before 0 in 8,5,3,2,1,1,0,1,-1,...

T(8,6)=4, last term before -2 in 8,6,2,4,-2,6,-8,14,...

CROSSREFS

Cf. A000045, A097368, A097369.

Sequence in context: A069013 A029281 A126792 * A130211 A102364 A132923

Adjacent sequences:  A097364 A097365 A097366 * A097368 A097369 A097370

KEYWORD

nonn,tabl

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu), Aug 09 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 16 09:00 EST 2012. Contains 205904 sequences.