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!)
A169814 a(n) = n XOR phi(n). 5
0, 3, 1, 6, 1, 4, 1, 12, 15, 14, 1, 8, 1, 8, 7, 24, 1, 20, 1, 28, 25, 28, 1, 16, 13, 22, 9, 16, 1, 22, 1, 48, 53, 50, 59, 40, 1, 52, 63, 56, 1, 38, 1, 56, 53, 56, 1, 32, 27, 38, 19, 44, 1, 36, 31, 32, 29, 38, 1, 44, 1, 32, 27, 96, 113, 86, 1, 100, 105, 94, 1, 80, 1, 110, 99, 104, 113, 86 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 1 <=> n in { A065091 }. - Alois P. Heinz, Jul 06 2023
MAPLE
a:= n-> Bits[Xor](n, numtheory[phi](n)):
seq(a(n), n=1..89); # Alois P. Heinz, Jul 06 2023
MATHEMATICA
Table[BitXor[n, EulerPhi[n]], {n, 80}] (* Harvey P. Dale, Sep 18 2011 *)
PROG
(PARI) a(n)=bitxor(n, eulerphi(n)) \\ Charles R Greathouse IV, Feb 21 2013
CROSSREFS
Sequence in context: A016476 A293436 A293228 * A068436 A019570 A239303
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, May 28 2010
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 05:16 EDT 2024. Contains 371906 sequences. (Running on oeis4.)