login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066198 Numbers n where phi changes as fast as sigma, i.e. |phi(n+1)-phi(n)| = |sigma(n+1)-sigma(n)|. 5
2, 6, 8, 10, 22, 46, 58, 82, 106, 166, 178, 188, 226, 262, 285, 346, 358, 382, 466, 478, 502, 562, 586, 718, 838, 854, 862, 886, 902, 982, 1018, 1186, 1282, 1306, 1318, 1366, 1438, 1486, 1522, 1618, 1822, 1906, 2013, 2026, 2038, 2062, 2098, 2206, 2446, 2458 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

This sequence is the union of two sequences A145748 and A145749. See comment lines of A145749. [From Farideh Firoozbakht (mymontain(AT)yahoo.com), Nov 01 2008]

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..1000

EXAMPLE

|phi(7)-phi(6)| = |6-2| = |8-12| = |sigma(7)-sigma(6)|.

|phi(9)-phi(8)|=||6-4|=2=|13-15|=|sigma(9)-sigma(8)|.

MATHEMATICA

Select[ Range[ 1, 10^4 ], Abs[ DivisorSigma[ 1, # + 1 ] - DivisorSigma[ 1, # ] ] == Abs[ EulerPhi[ # + 1 ] - EulerPhi[ # ] ] & ]

PROG

(PARI) { n=0; for (m=1, 10^9, if (abs(eulerphi(m + 1) - eulerphi(m)) == abs(sigma(m + 1) - sigma(m)), write("b066198.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Feb 05 2010]

CROSSREFS

Cf. A065387, A145748, A145749.

Sequence in context: A038619 A118257 A066762 * A108417 A185078 A166064

Adjacent sequences:  A066195 A066196 A066197 * A066199 A066200 A066201

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Dec 16 2001

EXTENSIONS

More terms from Jason Earls (zevi_35711(AT)yahoo.com), Jun 05 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.