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.

A234850 Primes in A014692, i.e., of the form prime(k)-k+1, for some k.

Original entry on oeis.org

2, 2, 3, 7, 11, 29, 43, 53, 61, 73, 97, 139, 149, 179, 223, 283, 313, 349, 373, 461, 467, 491, 541, 599, 619, 659, 727, 787, 859, 907, 911, 919, 941, 1019, 1087, 1091, 1187, 1223, 1249, 1283, 1301, 1321, 1433, 1471, 1481, 1511, 1523, 1543
Offset: 1

Views

Author

M. F. Hasler, Dec 31 2013

Keywords

Comments

The first term is listed twice because A014692(1) = 2-1+1 = A014692(2) = 3-2+1 = 2 both are prime; thereafter the sequence A014692 is strictly increasing, so there is no other duplicate value.

Crossrefs

Cf. A234695.

Programs

  • PARI
    for(k=1,999,isprime(p=prime(k)-k+1)&&print1(p","))

Formula

a(n) = prime(A234851(n)), prime = A000040.