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.

A225046 Position of the first occurrence of the n-th prime in A225017, or 0 if prime(n) never occurs.

Original entry on oeis.org

2, 5, 4, 14, 6, 7, 16, 21, 23, 24, 57, 122, 32, 19, 20, 22, 186, 177, 26, 29, 27, 61, 236, 34, 160, 36, 78, 54, 194, 41, 87, 43, 44, 188, 253, 55, 118, 229, 66, 59, 70, 69, 60, 58, 569, 279, 147, 81, 610, 74, 325, 85, 101, 75, 179, 459, 369, 100, 97, 463, 91
Offset: 4

Views

Author

John W. Layman, Apr 25 2013

Keywords

Comments

It appears that a large fraction of terms are relatively small, say a(n)<2*n, but they can be rather large. For example, prime(156)=911 occurs first at n=14424 in A225017, so a(156) = 14424.

Examples

			A225017 begins {1,1,7,1,13,11,...}, with offset 0, and the 4th prime 7 occurs for the first time at A225017(2)=7, so a(4)=2.  11 occurs for the first time at n=5, so a(5)=5.
		

Crossrefs

Cf. A225017.