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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Peter J. C. Moses, Table of n, a(n) for n = 0..499

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

Cf. A245618, A245619.

Sequence in context: A085056 A265447 A156538 * A217503 A165466 A175392

Adjacent sequences:  A249765 A249766 A249767 * A249769 A249770 A249771

KEYWORD

nonn

AUTHOR

Vladimir Shevelev, Nov 05 2014

EXTENSIONS

More terms from Peter J. C. Moses, Nov 05 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 20:01 EDT 2019. Contains 328373 sequences. (Running on oeis4.)