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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070238 Sign of core(n)-phi(n) where core(n) is the squarefree part of n and phi the Euler totient function. 0
0, 1, 1, -1, 1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, 1, -1, 1, -1, 1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, -1, 1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

sum(k=1,a(k))>0 for n>1.

FORMULA

For almost n, a(n)=2*mu(n)^2-1=2*A008683(n)-1. Below 1000, there are only 4 exceptions : n=420, 660, 780, 840.

PROG

(PARI) for(n=1, 100, print1(sign(core(n)-eulerphi(n)), ", "))

CROSSREFS

Sequence in context: A134824 A165476 A165596 * A062157 A103131 A112347

Adjacent sequences:  A070235 A070236 A070237 * A070239 A070240 A070241

KEYWORD

easy,sign

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), May 08 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 15 11:14 EST 2012. Contains 205763 sequences.