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

 

Logo

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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066494 Numbers n such that prime(n+1) - prime(n) = phi(n). 0
1, 3, 8, 9, 12, 18, 24 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
After 24, there are no more terms < 10^6. Are there any more terms?
This sequence is certainly finite and very likely complete; phi(n) is bounded below asymptotically by n/log log n * e^{-gamma}, while prime gaps are known to be bounded asymptotically above by p^{1/3} ~ (n log n)^(1/3). - Franklin T. Adams-Watters, Jul 27 2006
LINKS
EXAMPLE
Prime(13) - prime(12) = 41 - 37 = 4 = phi(12), so 12 belongs to the sequence.
MATHEMATICA
f[n_] := Prime[n + 1] - Prime[n]; Select[Range[1, 10^6], f[ # ] == EulerPhi[ # ] &]
PrimePi[#]&/@Select[Partition[Prime[Range[25]], 2, 1], #[[2]]-#[[1]]==EulerPhi[ PrimePi[ #[[1]]]]&][[All, 1]] (* Harvey P. Dale, Sep 09 2022 *)
CROSSREFS
Sequence in context: A080761 A087286 A165289 * A082721 A239388 A259850
KEYWORD
more,nonn,fini
AUTHOR
Joseph L. Pe, Jan 03 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 December 9 01:07 EST 2023. Contains 367681 sequences. (Running on oeis4.)