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!)
A066219 Numbers n such that |phi(n+1)-phi(n)| = |d(n+1)-d(n)|, where phi is Euler's totient function and d(n) = number of divisors of n. 0
5, 7, 45, 104, 105, 345, 1754, 3255, 16215, 17534, 22935, 67431, 70634, 93074, 983775, 1025504, 1156701, 2200694, 2619705, 2745765, 3365438, 4163355, 4447064, 4695704, 6372794, 7838265, 9718904, 11903775, 23992215, 26879684, 29357475, 37239735, 40588485 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
|phi(6)-phi(5)| = |2-4| = |d(6)-d(5)| = |4-2|
PROG
(PARI) ph1=1; d1=1; for(n=1, 40588485, ph2=eulerphi(n+1); d2=numdiv(n+1); if(abs(ph2-ph1)==abs(d2-d1), print1(n ", ")); ph1=ph2; d1=d2) /* Donovan Johnson, Oct 19 2012 */
CROSSREFS
Sequence in context: A213175 A265786 A090520 * A278618 A174267 A306649
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Dec 17 2001
EXTENSIONS
a(7)-a(33) from Donovan Johnson, Oct 19 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 April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)