login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079476 First prime greater than or equal to phi(n^2). 1
2, 2, 7, 11, 23, 13, 43, 37, 59, 41, 113, 53, 157, 89, 127, 131, 277, 109, 347, 163, 257, 223, 509, 193, 503, 313, 487, 337, 821, 241, 937, 521, 661, 547, 853, 433, 1361, 691, 937, 641, 1657, 509, 1811, 881, 1087, 1013, 2179, 769, 2063, 1009, 1637, 1249, 2767 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence generally goes up,down,up,down...
LINKS
FORMULA
a(n) = A007918(A002618(n)). - Robert Israel, Oct 25 2017
EXAMPLE
phi(3^2)=phi(9)=6, therefore a(3)=7.
MAPLE
map(t -> nextprime(numtheory:-phi(t^2)-1), [$1..100]); # Robert Israel, Oct 25 2017
MATHEMATICA
Array[If[PrimeQ@ #, #, NextPrime@ #] &@ EulerPhi[#^2] &, 53] (* Michael De Vlieger, Oct 25 2017 *)
PROG
(PARI) for (n=1, 100, print1(nextprime(eulerphi(n^2))", "))
CROSSREFS
Sequence in context: A118680 A278457 A094116 * A005298 A063692 A292615
KEYWORD
nonn,look
AUTHOR
Jon Perry, Jan 15 2003
EXTENSIONS
Corrected by Robert Israel, Oct 25 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 29 15:34 EDT 2024. Contains 374734 sequences. (Running on oeis4.)