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!)
A066516 Numbers n such that g(sigma(n)) = phi(n), where g(n) = prime(n+1) - prime(n). 0
1, 4, 5, 15, 18, 30, 36 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
No more terms below 10^6. - Robert G. Wilson v, Jan 05 2002
No more terms below 2 * 10^17. - Charles R Greathouse IV, Feb 15 2011
On the Riemann hypothesis, a(7) = 36 is the last member of this sequence. - Charles R Greathouse IV, Feb 15 2011
LINKS
EXAMPLE
g(sigma(4)) = g(7) = prime(8)-prime(7) = 19-17 = 2 = phi(4).
MATHEMATICA
g[x_] := Prime[x + 1] - Prime[x]; Select[Range[1, 10^5], g[DivisorSigma[1, # ]] == EulerPhi[ # ] &]
CROSSREFS
Sequence in context: A257311 A369790 A330857 * A047184 A002509 A230983
KEYWORD
nonn,fini,full
AUTHOR
Joseph L. Pe, Jan 04 2002
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 15:36 EDT 2024. Contains 372521 sequences. (Running on oeis4.)