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!)
A145748 Numbers n such that phi(n+1)-phi(n)=sigma(n+1)-sigma(n). 2
2, 854, 751358, 1421637, 8775206, 8892195, 16485944, 31845344, 95494035, 277653495, 380438505, 744048855, 1091725394, 1615353002, 2284844925, 2491028745, 6345217034, 8490513014, 12784909335, 14177454885, 15669084375, 17694356295, 17836667354, 24180347115 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence is a subsequence of A066198.
LINKS
MATHEMATICA
de[n_]:=DivisorSigma[1, n]-EulerPhi[n]; Do[If[de[n]==de[n+1], Print[n]], {n, 50000000}] (* Firoozbakht *)
Select[Range[10^6], (EulerPhi[# + 1] - EulerPhi[#]) == (DivisorSigma[1, # + 1] - DivisorSigma[1, #]) &] (* Alonso del Arte, Feb 08 2012 *)
CROSSREFS
Sequence in context: A028485 A034227 A324589 * A141185 A257660 A128667
KEYWORD
nonn
AUTHOR
Farideh Firoozbakht, Nov 01 2008
EXTENSIONS
a(9)-a(16) from Donovan Johnson, Dec 14 2009
a(17)-a(24) from Donovan Johnson, Feb 08 2012
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 June 5 08:28 EDT 2024. Contains 373102 sequences. (Running on oeis4.)