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.

A072677 a(n) = prime(prime(n)+1) where prime(k) is the k-th prime.

This page as a plain text file.
%I A072677 #12 Nov 04 2018 13:35:10
%S A072677 5,7,13,19,37,43,61,71,89,113,131,163,181,193,223,251,281,293,337,359,
%T A072677 373,409,433,463,521,557,569,593,601,619,719,743,787,809,863,881,929,
%U A072677 971,997,1033,1069,1091,1163,1181,1213,1223,1301,1423,1439,1451,1481,1511,1531,1601,1627,1693,1733,1747,1789,1831,1861,1931
%N A072677 a(n) = prime(prime(n)+1) where prime(k) is the k-th prime.
%C A072677 Prime numbers q for which the number of prime numbers smaller than q is also a prime number.
%H A072677 Alois P. Heinz, <a href="/A072677/b072677.txt">Table of n, a(n) for n = 1..10000</a>
%e A072677 a(4)=prime(prime(4)+1), prime(4)=7, hence a(4)=prime(8)=19.
%e A072677 163 is in the sequence because (1) it is a prime number, (2) there are 37 prime numbers smaller than 163 and 37 is also a prime number.
%p A072677 with(numtheory): seq(ithprime(ithprime(i)+1),i=1..51);
%t A072677 Prime[Prime[Range[60]]+1] (* _Harvey P. Dale_, Nov 07 2016 *)
%o A072677 (PARI) a(n) = prime(prime(n)+1); \\ _Michel Marcus_, Nov 17 2017
%Y A072677 Cf. A000720, A006450, A055003, A072677.
%K A072677 easy,nonn
%O A072677 1,1
%A A072677 Mark Hudson (mrmarkhudson(AT)hotmail.com), Jul 05 2002
%E A072677 Edited by _N. J. A. Sloane_, Nov 04 2018 at the suggestion of _Georg Fischer_, Nov 03 2018, merging a duplicate entry with this one.