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.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A115919 Numbers k such that sigma(k) - phi(k) is a prime number. 5
 2, 3, 4, 5, 7, 8, 9, 11, 13, 16, 17, 19, 23, 25, 29, 31, 32, 36, 37, 41, 43, 47, 50, 53, 59, 61, 67, 71, 73, 79, 81, 83, 89, 97, 101, 103, 107, 109, 113, 121, 127, 128, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 225, 227 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 EXAMPLE sigma(81) - phi(81) = 67, a prime. MATHEMATICA Select[Range[300], PrimeQ[DivisorSigma[1, #]-EulerPhi[#]]&] (* Harvey P. Dale, Feb 25 2011 *) PROG (PARI) is(n)=isprime(sigma(n)-eulerphi(n)) \\ Charles R Greathouse IV, Nov 27 2013 CROSSREFS Cf. A038344. Sequence in context: A096165 A164336 A348263 * A038701 A127072 A341089 Adjacent sequences: A115916 A115917 A115918 * A115920 A115921 A115922 KEYWORD nonn AUTHOR Giovanni Resta, Feb 06 2006 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.

Last modified May 24 15:19 EDT 2024. Contains 372778 sequences. (Running on oeis4.)