login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Indices of local maxima in A342042: numbers k such that A342042(k-1) < A342042(k) > A342042(k+1), for k >= 2.
0

%I #10 Jan 08 2025 05:55:22

%S 14,17,20,23,27,30,33,39,42,45,49,52,58,61,65,71,79,82,85,88,94,97,99,

%T 102,106,108,113,116,118,121,126,129,133,136,138,143,147,154,157,160,

%U 163,167,172,175,178,181,188,191,194,196,199,205,209,212,215,217,221

%N Indices of local maxima in A342042: numbers k such that A342042(k-1) < A342042(k) > A342042(k+1), for k >= 2.

%H Michael S. Branicky, <a href="/A379902/b379902.txt">Table of n, a(n) for n = 1..10000</a>

%o (Python) # uses functions/imports in A379901

%o print([t[1] for t in islice(A3799012gen(), 57)]) # _Michael S. Branicky_, Jan 08 2025

%Y Cf. A342042, A379901 (corresponding maxima), A379903, A379904.

%K nonn,base,new

%O 1,1

%A _Paolo Xausa_, Jan 05 2025