login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A059109
Numbers m such that m*phi(m)-1 is prime, where phi is the Euler function (A000010).
2
3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 16, 17, 18, 21, 24, 25, 26, 29, 30, 31, 33, 35, 36, 38, 42, 47, 54, 61, 63, 65, 66, 67, 71, 74, 75, 78, 81, 87, 91, 97, 99, 101, 105, 117, 119, 121, 123, 127, 128, 131, 132, 135, 139, 140, 143, 144, 147, 149, 154, 156, 158, 162, 172
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[200], PrimeQ[# EulerPhi[#]-1]&] (* Harvey P. Dale, Aug 23 2012 *)
PROG
(PARI) is(n)=isprime(n*eulerphi(n)-1) \\ Charles R Greathouse IV, Feb 21 2013
(Magma) [n: n in [1..200] | IsPrime(n*EulerPhi(n)-1)]; // Vincenzo Librandi, Jul 31 2018
CROSSREFS
Sequence in context: A299534 A026454 A026458 * A189080 A039113 A130399
KEYWORD
nonn
AUTHOR
Jud McCranie, Jan 03 2001
STATUS
approved