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!)
A071939 a(n) = Max { sigma(k) : k = 1, 2, 3, ..., n } - Max { Phi(k) : k = 1, 2, 3, ..., n }. 0
0, 2, 2, 5, 3, 8, 6, 9, 9, 12, 8, 18, 16, 16, 16, 19, 15, 23, 21, 24, 24, 24, 20, 38, 38, 38, 38, 38, 32, 44, 42, 42, 42, 42, 42, 61, 55, 55, 55, 55, 51, 56, 54, 54, 54, 54, 50, 78, 78, 78, 78, 78, 72, 72, 72, 72, 72, 72, 66, 110, 108, 108, 108, 108, 108, 108, 102, 102, 102 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Is there a simple expression for lim_{n->oo} a(n)/n?
LINKS
FORMULA
a(n) = A070324(n) - A070320(n).
MATHEMATICA
nn=70; With[{sig=DivisorSigma[1, Range[nn]], phi=EulerPhi[Range[ nn]]}, Table[ Max[Take[sig, n]]-Max[Take[phi, n]], {n, nn}]] (* Harvey P. Dale, May 06 2012 *)
PROG
(PARI) for(n=1, 100, v=vector(n, x, sigma(x)); w=vector(n, y, eulerphi(y)); print1(vecmax(v)-vecmax(w), ", "))
CROSSREFS
Sequence in context: A368207 A266981 A045893 * A338332 A075545 A006307
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 15 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 August 24 15:10 EDT 2024. Contains 375417 sequences. (Running on oeis4.)