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!)
A144451 Triangle A(n,k) read by rows: A(n,1)=A(n,n)=1 and A(n,k) = A(n-2,k-1) - 2*A(n,k-1) + 1 for 1<k<n. 1
1, 1, 1, 1, 0, 1, 1, 0, 2, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 2, -3, 8, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, -4, 17, -32, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
Row sums are 1, 2, 2, 4, 3, 4, 4, 10, 5, -14, 6, 128, 7, -720, 8, 4630, 9, -30194, 10, ...
LINKS
FORMULA
A(n,k) = A(n-2,k-1) - 2*A(n,k-1) + 1.
EXAMPLE
1;
1, 1;
1, 0, 1;
1, 0, 2, 1;
1, 0, 1, 0, 1;
1, 0, 1, 1, 0, 1;
1, 0, 1, 0, 1, 0, 1;
1, 0, 1, 0, 2, -3, 8, 1;
1, 0, 1, 0, 1, 0, 1, 0, 1;
1, 0, 1, 0, 1, 1, -4, 17, -32, 1;
MAPLE
A144451 := proc(n, k)
option remember;
if k < 1 or k > n then
0 ;
elif n = 1 or n=k then
1;
else
procname(n-2, k-1)-2*procname(n, k-1)+1 ;
end if;
end proc: # R. J. Mathar, Jul 21 2015
MATHEMATICA
A[n_, 1] := 1; A[n_, n_] := 1; A[n_, k_] := A[n, k] = A[n - 2, k - 1] - 2*A[n, k - 1] + 1; a = Table[A[n, k], {n, 10}, {k, n}]; Flatten[a]
CROSSREFS
Sequence in context: A133300 A337101 A178779 * A259287 A342592 A090464
KEYWORD
tabl,sign,easy
AUTHOR
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 16 02:41 EDT 2024. Contains 371696 sequences. (Running on oeis4.)