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!)
A053219 Reverse of triangle A053218, read by rows. 3

%I #27 Oct 27 2023 22:00:45

%S 1,3,2,8,5,3,20,12,7,4,48,28,16,9,5,112,64,36,20,11,6,256,144,80,44,

%T 24,13,7,576,320,176,96,52,28,15,8,1280,704,384,208,112,60,32,17,9,

%U 2816,1536,832,448,240,128,68,36,19,10,6144,3328,1792,960,512,272,144,76,40

%N Reverse of triangle A053218, read by rows.

%C First element in each row gives A001792. Difference between center element of row 2n-1 and row sum of row n (A053220(n+4) - A053221(n+4)) gives A045618(n).

%C Subtriangle of triangle in A062111. - _Philippe Deléham_, Nov 21 2011

%C Can be seen as the transform of 1, 2, 3, 4, 5, ... by a variant of the boustrophedon algorithm (see the Sage implementation). - _Peter Luschny_, Oct 30 2014

%e Triangle begins:

%e 1

%e 3, 2

%e 8, 5, 3

%e 20, 12, 7, 4

%e 48, 28, 16, 9, 5 ...

%t Map[Reverse,NestList[FoldList[Plus,#[[1]]+1,#]&,{1},10]]//Grid (* _Geoffrey Critzer_, Jun 27 2013 *)

%o (Sage)

%o def u():

%o for n in PositiveIntegers():

%o yield n

%o def bous_variant(f):

%o k = 0

%o am = next(f)

%o a = [am]

%o while True:

%o yield list(a)

%o am = next(f)

%o a.append(am)

%o for m in range(k,-1,-1):

%o am += a[m]

%o a[m] = am

%o k += 1

%o b = bous_variant(u())

%o [next(b) for _ in range(8)] # _Peter Luschny_, Oct 30 2014

%Y Cf. A053218 (reverse of this triangle), A053220 (center elements), A053221 (row sums), A001792, A045618, A062111.

%K nonn,tabl

%O 1,2

%A _Asher Auel_, Jan 01 2000

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 May 9 12:21 EDT 2024. Contains 372350 sequences. (Running on oeis4.)