cp's OEIS Frontend

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.

Showing 1-2 of 2 results.

A088364 a(n) = index of the n-th local minimum of A053707.

Original entry on oeis.org

1, 3, 6, 9, 13, 16, 19, 21, 26, 28, 30, 33, 37, 39, 43, 48, 50, 53, 56, 61, 63, 66, 68, 70, 73, 75, 78, 80, 82, 86, 90, 94, 96, 98, 102, 105, 108, 112, 115, 119, 124, 128, 132, 134, 136, 139, 141, 144, 146, 148, 150, 152, 156, 158, 160, 165, 168, 171, 173, 176, 180, 182
Offset: 1

Views

Author

Klaus Brockhaus, Sep 27 2003

Keywords

Examples

			The eighth local minimum of A053707 is 17 and occurs at index 21, hence a(8) = 21; A053707(a(8)) = A053707(21) = 17 = A088363(8).
		

Crossrefs

Programs

  • Maple
    N:= 10^6: # to use values of A025475 up to N
    P:= select(isprime, [2,seq(i,i=3..isqrt(N),2)]):
    B:= sort([1,seq(seq(p^i,i=2..ilog[p](N)),p=P)]):
    DB:= B[2..-1]-B[1..-2]:
    T:= select(t -> DB[t] <= DB[t-1] and DB[t] <= DB[t+1], [$2..nops(DB)-1]):
    [1,op(T)]; # Robert Israel, Aug 21 2023
  • PARI
    {m=1; k=0; for(n=2,530000,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))}

Formula

A053707(a(n)) = A088363(n).

A088365 Local maxima of A053707 (first differences of A025475, powers of a prime but not prime).

Original entry on oeis.org

4, 9, 17, 40, 74, 54, 151, 120, 307, 312, 199, 408, 356, 424, 912, 1032, 1217, 840, 1872, 423, 1608, 2518, 1588, 1920, 1230, 2112, 3713, 1560, 5208, 2832, 3952, 2872, 3192, 3288, 3432, 8400, 5738, 4080, 4272, 4512, 6288, 8280, 8520, 5232, 5352, 3672, 8892
Offset: 1

Views

Author

Klaus Brockhaus, Sep 27 2003

Keywords

Comments

A053707(k) for k = 1 is a term iff A053707(k) >= A053707(k+1); A053707(k) for k > 1 is a term iff A053707(k-1) < A053707(k) and A053707(k) >= A053707(k+1).
A088366 gives the corresponding indices. Local minima of A053707 are in A088363.

Examples

			The first six terms of A053707 are 3,4,1,7,9,2, hence A053707(2) = 4 is the first and A053707(5) = 9 is the second local maximum of A053707.
		

Crossrefs

Programs

  • PARI
    {m=1; k=0; for(n=2,250000,if(matsize(factor(n))[1]==1&&factor(n)[1,2]>1,d=n-m; if((k<2||b
    				
Showing 1-2 of 2 results.