This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A088366 #6 Aug 25 2024 02:44:49 %S A088366 2,5,8,11,15,18,20,25,27,29,31,36,38,42,45,49,51,54,58,62,64,67,69,71, %T A088366 74,76,79,81,84,89,92,95,97,99,104,106,111,113,117,122,126,130,133, %U A088366 135,137,140,143,145,147,149,151,154,157,159,162,167,170,172,175,179,181 %N A088366 a(n) = index of the n-th local maximum of A053707. %C A088366 A053707(a(n)) = A088365(n). %e A088366 The fourth local maximum of A053707 is 40 and occurs at index 11, hence a(4) = 11; A053707(a(4)) = A053707(11) = 40 = A088365(4). %o A088366 (PARI) {m=1; k=0; for(n=2,500000,if(matsize(factor(n))[1]==1&&factor(n)[1,2]>1,d=n-m; if((k<2||b<c)&&(!k<1&&d<=c),print1(k,",")); k++; m=n; b=c; c=d))} %Y A088366 Cf. A025475, A053707, A088365. %K A088366 nonn %O A088366 1,1 %A A088366 _Klaus Brockhaus_, Sep 27 2003