The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A039698 Numbers k such that phi(k) + 1 is prime. 12
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 19, 21, 22, 23, 26, 27, 28, 29, 31, 32, 34, 36, 37, 38, 40, 41, 42, 43, 46, 47, 48, 49, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 67, 71, 73, 74, 75, 76, 77, 79, 82, 83, 86, 88, 89, 91, 93, 94, 95, 97, 98, 99, 100, 101, 103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Positive integers k for which values of A039649(k) are primes. - Vladimir Shevelev, May 10 2008
For every prime p, the numbers p and 2p are terms of this sequence. - Vladimir Shevelev, May 10 2008
Union of A000040 and A066071. - Ray Chandler, May 26 2008
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..26197 (first 1000 terms from Vincenzo Librandi)
EXAMPLE
phi(10)+1 = 4+1 = 5, a prime number, so 10 is a term.
MATHEMATICA
Select[Range[300], PrimeQ[EulerPhi[#] + 1]&] (* Vincenzo Librandi, Aug 13 2013 *)
PROG
(Magma) [n: n in [1..200] | IsPrime(EulerPhi(n)+1)]; // Vincenzo Librandi, Aug 13 2013
CROSSREFS
Cf. A039689 (complement), A296079 (characteristic function).
Sequence in context: A166535 A247764 A302140 * A347620 A078107 A072089
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, May 21 2008 at the suggestion of R. J. Mathar
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 May 13 17:28 EDT 2024. Contains 372522 sequences. (Running on oeis4.)