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.

A070800 Smallest prime greater than phi(n): a(n) = nextprime(phi(n)).

This page as a plain text file.
%I A070800 #23 Dec 05 2017 04:08:13
%S A070800 2,3,3,5,3,7,5,7,5,11,5,13,7,11,11,17,7,19,11,13,11,23,11,23,13,19,13,
%T A070800 29,11,31,17,23,17,29,13,37,19,29,17,41,13,43,23,29,23,47,17,43,23,37,
%U A070800 29,53,19,41,29,37,29,59,17,61,31,37,37,53,23,67,37,47,29,71,29,73,37
%N A070800 Smallest prime greater than phi(n): a(n) = nextprime(phi(n)).
%H A070800 Antti Karttunen, <a href="/A070800/b070800.txt">Table of n, a(n) for n = 2..16384</a>
%F A070800 a(n) = prime(1 + primepi(phi(n))) = A151800(A000010(n)).
%t A070800 Table[Prime[1+PrimePi[EulerPhi[w]]], {w, 2, 128}] (* or *)
%t A070800 NextPrime[EulerPhi[#]] & /@ Range[2,80] (* _Harvey P. Dale_, Jan 30 2011 *)
%o A070800 (PARI) a(n)=nextprime(eulerphi(n)+1) \\ _Charles R Greathouse IV_, Oct 31 2011
%Y A070800 Cf. A000010, A070801, A151800, A078773.
%K A070800 easy,nonn
%O A070800 2,1
%A A070800 _Labos Elemer_, May 08 2002