cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A145748 Numbers n such that phi(n+1)-phi(n)=sigma(n+1)-sigma(n).

Original entry on oeis.org

2, 854, 751358, 1421637, 8775206, 8892195, 16485944, 31845344, 95494035, 277653495, 380438505, 744048855, 1091725394, 1615353002, 2284844925, 2491028745, 6345217034, 8490513014, 12784909335, 14177454885, 15669084375, 17694356295, 17836667354, 24180347115
Offset: 1

Views

Author

Farideh Firoozbakht, Nov 01 2008

Keywords

Comments

This sequence is a subsequence of A066198.

Crossrefs

Programs

  • 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 *)

Extensions

a(9)-a(16) from Donovan Johnson, Dec 14 2009
a(17)-a(24) from Donovan Johnson, Feb 08 2012