login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A267090
Triangle read by rows: Fill an n X n square with 1's, except for 0's on the two main diagonals. Then T(n,k) is decimal equivalent of the k-th row (0<=k<=n).
1
0, 0, 0, 2, 5, 2, 6, 9, 9, 6, 14, 21, 27, 21, 14, 30, 45, 51, 51, 45, 30, 62, 93, 107, 119, 107, 93, 62, 126, 189, 219, 231, 231, 219, 189, 126, 254, 381, 443, 471, 495, 471, 443, 381, 254, 510, 765, 891, 951, 975, 975, 951, 891, 765, 510
OFFSET
0,4
COMMENTS
Inspired by A137932 and A042948.
Conjectures:
(i) The first column is A000225/2.
(ii) For even-n, T(n,n/2) = A129868.
(iii) For odd-n, T(n,(n-1)/2) = T(n,(n+1)/2) = A220236.
EXAMPLE
Triangle begins:
n\k 0 1 2 3 4 5 6 7 8 ...
0 0
1 0 0
2 2 5 2
3 6 9 9 6
4 14 21 27 21 14
5 30 45 51 51 45 30
6 62 93 107 119 107 93 62
7 126 189 219 231 231 219 189 126
8 254 381 443 471 495 471 443 381 254
...
PROG
(Small Basic)
t[0][0] = 1
t[1][0] = 3
t[1][1] = 3
TextWindow.Write("0, 0, 0, ")
For n = 2 To 20
For k = 0 To n
If k = 0 Or k = n then
t[n][k] = 1 + math.Power(2, n)
Else
t[n][k] = 2*t[n-2][k-1]
EndIf
a = math.Power(2, n+1) -1 -t[n][k]
TextWindow.Write(a+", ")
EndFor
Endfor
CROSSREFS
KEYWORD
tabl,nonn
AUTHOR
Kival Ngaokrajang, Jan 10 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 14:54 EDT 2024. Contains 376178 sequences. (Running on oeis4.)