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!)
A244476 6th-largest term in n-th row of Stern's diatomic triangle A002487. 5

%I #11 Jun 20 2022 05:40:00

%S 2,8,15,26,45,75,121,199,322,542,877,1427,2309,3739,6050,9790,15841,

%T 25632,41473,67105,108578,175683,284261,459944,744205,1204149,1948354,

%U 3152503,5100857,8253360

%N 6th-largest term in n-th row of Stern's diatomic triangle A002487.

%H Jennifer Lansing, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL17/Lansing/lansing2.html">Largest Values for the Stern Sequence</a>, Journal of Integer Sequences, Vol. 17 (2014), Article 14.7.5.

%o (Python)

%o from functools import reduce

%o from itertools import product

%o def A244476(n): return sorted(set(sum(reduce(lambda x,y:(x[0],x[0]+x[1]) if y else (x[0]+x[1],x[1]),k,(1,0))) for k in product((False,True),repeat=n)),reverse=True)[5] # _Chai Wah Wu_, Jun 19 2022

%Y Cf. A002487, A244472, A244473, A244474, A244475.

%K nonn,more

%O 4,1

%A _N. J. A. Sloane_, Jul 01 2014

%E a(24)-a(33) from _Chai Wah Wu_, Jun 19 2022

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 24 18:05 EDT 2024. Contains 371962 sequences. (Running on oeis4.)