login
A249768
Row "sums" of triangle A245618, using the operation <+> defined in A245618.
1
1, 2, 2, 2, 2, 10, 8, 2, 2, 58, 104, 186, 292, 442, 410, 2, 2, 3434, 6856, 13674, 27192, 53912, 105770, 205628, 389108, 732762, 1286970, 2181624, 3237606, 5206764, 4527418, 2204, 2, 40384330, 80768648, 161537226, 323074168, 646146872, 1292283522, 2584509436
OFFSET
0,2
LINKS
EXAMPLE
For n=6 we have the following row of triangle A245618: 1 2 3 8 3 2 1.
We have 1<+>2=1, 1<+>3=4, 4<+>8=12, 12<+>3=9, 9<+>2=7, 7<+>1=8. So, a(6)=8.
MATHEMATICA
parityAdd[a_, b_]:=Abs[a+b (-1)^(a+b)];
t[n_, 0]:=1;
t[n_, n_]:=1;
t[n_, k_]:=t[n, k]=parityAdd[t[n-1, k-1], t[n-1, k]];
Map[Fold[parityAdd, First[#], Rest[#]]&, Table[t[n, k], {n, 0, 40}, {k, 0, n}]] (* Peter J. C. Moses, Nov 05 2014 *)
CROSSREFS
Sequence in context: A371619 A265447 A156538 * A217503 A165466 A175392
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Nov 05 2014
EXTENSIONS
More terms from Peter J. C. Moses, Nov 05 2014
STATUS
approved