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.

A358531 Indices of the primes in A358530.

Original entry on oeis.org

6, 8, 11, 13, 14, 18, 20, 21, 23, 26, 27, 29, 32, 34, 36, 39, 42, 44, 46, 49, 50, 53, 55, 58, 60, 61, 64, 65, 68, 70, 74, 76, 79, 82, 84, 86, 89, 90, 93, 94, 96, 99, 101, 103, 105, 108, 110, 113, 114, 116, 117, 121, 123, 127, 129, 130, 132, 134, 135, 137
Offset: 1

Views

Author

Clark Kimberling, Nov 21 2022

Keywords

Comments

This sequence, together with A358529 and A356347, partition the set of positive integers >= 3.

Examples

			  n       1   2   3   4   5   6   7
  k       6   8  11  13  14  18  20
  p(n)   13  19  31  41  43  61  71
		

Crossrefs

Programs

  • Mathematica
    t = Select[2 + Range[140],
    Prime[#] - Prime[# - 1] < Prime[# - 1] - Prime[# - 2] &]  (* A358531 *)
    Prime[t]  (* A358530 *)

Formula

a(n) = A258026(n) + 2.